1
0

translating date to french

This commit is contained in:
Daniel Tartavel 2020-05-08 14:07:20 +02:00
parent 0c8b439446
commit fe708d2207

2
main.c
View File

@ -39,7 +39,7 @@ char* frtime(const time_t timet)
date_tm = localtime(&timet);
strftime(result, 4, "%w", date_tm);
jour = atoi(result);
strftime(result, 40, "%d/%m/%y à %T", date_tm);
strftime(result, 40, "%d/%m/%y à %x", date_tm);
sprintf(result, "%d %s", jour, result);
return result;
}