From fe708d2207343ea33181d38bf456c621149b2e4a Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 8 May 2020 14:07:20 +0200 Subject: [PATCH] translating date to french --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 924da2b..f9eb0df 100644 --- a/main.c +++ b/main.c @@ -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; }