From 291fb37ca5f785887e5cb7626ae4cc5e77e68fa2 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 8 May 2020 14:13:19 +0200 Subject: [PATCH] debug --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 2235efa..c20604d 100644 --- a/main.c +++ b/main.c @@ -38,7 +38,7 @@ char* frtime(const time_t timet) }; static char result[40]; date_tm = localtime(&timet); - strftime(result, 4, "%Ec", date_tm); + strftime(result, 4, "%c", date_tm); jour = atoi(result); strftime(result, 40, "%d/%m/%y à %x", date_tm); sprintf(result, "%d %s", jour, result);