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);