debug
This commit is contained in:
parent
291fb37ca5
commit
8797b9ce9c
2
main.c
2
main.c
@ -38,7 +38,7 @@ char* frtime(const time_t timet)
|
|||||||
};
|
};
|
||||||
static char result[40];
|
static char result[40];
|
||||||
date_tm = localtime(&timet);
|
date_tm = localtime(&timet);
|
||||||
strftime(result, 4, "%c", date_tm);
|
strftime(result, 40, "%c", date_tm);
|
||||||
jour = atoi(result);
|
jour = atoi(result);
|
||||||
strftime(result, 40, "%d/%m/%y à %x", date_tm);
|
strftime(result, 40, "%d/%m/%y à %x", date_tm);
|
||||||
sprintf(result, "%d %s", jour, result);
|
sprintf(result, "%d %s", jour, result);
|
||||||
|
Reference in New Issue
Block a user