From 0c8b4394464b76b7bbe69d9230a370b34ebc1dbd Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 8 May 2020 14:04:14 +0200 Subject: [PATCH] debug --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index e585079..924da2b 100644 --- a/main.c +++ b/main.c @@ -39,7 +39,8 @@ char* frtime(const time_t timet) date_tm = localtime(&timet); strftime(result, 4, "%w", date_tm); jour = atoi(result); - strftime(result, 40, "%Ec", date_tm); + strftime(result, 40, "%d/%m/%y à %T", date_tm); + sprintf(result, "%d %s", jour, result); return result; }