commit c322cdd470f92b503fea066ce3f837af455c73d8
parent b0ca1234fd627802dc09bb16b62c3a233dd61996
Author: qorg11 <qorg@vxempire.xyz>
Date: Sun, 15 Nov 2020 15:35:32 +0100
%c is better since gnu date gives that by default so take it
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)