date: change default format

This commit is contained in:
K. Lange 2021-09-25 12:06:17 +09:00
parent 0caa949550
commit 4bc652365f

View File

@ -32,7 +32,7 @@ static void show_usage(int argc, char * argv[]) {
} }
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
char * format = "%a %b %d %T %Y %Z"; char * format = "%a %d %b %Y %T %Z";
struct tm * timeinfo; struct tm * timeinfo;
struct timeval now; struct timeval now;
char buf[BUFSIZ] = {0}; char buf[BUFSIZ] = {0};