1
0
This commit is contained in:
Daniel Tartavel 2020-05-08 14:32:55 +02:00
parent df1087936a
commit 7f5f6c7f40

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,NULL); locale = setlocale(LC_ALL,NULL);
time( &now ); time( &now );
sprintf( date, "%s", ctime(&now)); sprintf( date, "%s", ctime(&now));