1
0
This commit is contained in:
Daniel Tartavel 2020-05-08 14:47:00 +02:00
parent 7f5f6c7f40
commit 4ff76b1392

2
main.c
View File

@ -243,7 +243,7 @@ int main()
char date[60]; char date[60];
time_t now ; time_t now ;
char * locale; char * locale;
setlocale(LC_ALL,""); locale = setlocale(LC_ALL,"");
locale = setlocale(LC_ALL,NULL); locale = setlocale(LC_ALL,NULL);
time( &now ); time( &now );
sprintf( date, "%s", ctime(&now)); sprintf( date, "%s", ctime(&now));