debug
This commit is contained in:
parent
9068e35744
commit
0c8b439446
3
main.c
3
main.c
@ -39,7 +39,8 @@ char* frtime(const time_t timet)
|
|||||||
date_tm = localtime(&timet);
|
date_tm = localtime(&timet);
|
||||||
strftime(result, 4, "%w", date_tm);
|
strftime(result, 4, "%w", date_tm);
|
||||||
jour = atoi(result);
|
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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user