debug
This commit is contained in:
parent
8797b9ce9c
commit
a4ef2ec020
2
main.c
2
main.c
@ -254,7 +254,7 @@ int main()
|
|||||||
char date[60];
|
char date[60];
|
||||||
time_t now ;
|
time_t now ;
|
||||||
|
|
||||||
setlocale(LC_ALL,"");
|
setlocale(LC_ALL,"fr_FR.UTF-8");
|
||||||
time( &now );
|
time( &now );
|
||||||
sprintf( date, "%s", ctime(&now));
|
sprintf( date, "%s", ctime(&now));
|
||||||
date[strlen(date)-1] = 0;
|
date[strlen(date)-1] = 0;
|
||||||
|
Reference in New Issue
Block a user