aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqorg11 <qorg@vxempire.xyz>2020-11-15 15:35:32 +0100
committerqorg11 <qorg@vxempire.xyz>2020-11-15 15:35:32 +0100
commitc322cdd470f92b503fea066ce3f837af455c73d8 (patch)
tree690f4a158950ecca59b3153f3126231bdc42c80b
parentb0ca1234fd627802dc09bb16b62c3a233dd61996 (diff)
downloadk9core-c322cdd470f92b503fea066ce3f837af455c73d8.tar.gz
k9core-c322cdd470f92b503fea066ce3f837af455c73d8.zip
%c is better since gnu date gives that by default so take it
-rw-r--r--src/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c
index 78b41ea..6c53a18 100644
--- a/src/date.c
+++ b/src/date.c
@@ -11,7 +11,7 @@ main(int argc,char *argv[])
char buffer[256];
time_t now;
now = time(NULL);
- char FORMAT[256] = "%F %H:%M:%S";
+ char FORMAT[256] = "%c";
struct tm *timeinfo;
while((c = getopt(argc,argv,"u")) != -1)