debug
This commit is contained in:
parent
df1087936a
commit
7f5f6c7f40
2
main.c
2
main.c
@ -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));
|
||||||
|
Reference in New Issue
Block a user