1
0
This commit is contained in:
Daniel Tartavel 2020-05-08 14:13:19 +02:00
parent 9b32ea9203
commit 291fb37ca5

2
main.c
View File

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