mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
revert _strdate modifications
svn path=/trunk/; revision=22211
This commit is contained in:
parent
c4dded32e8
commit
18fbc81749
|
@ -24,7 +24,6 @@ char* _strdate(char* datestr)
|
|||
}
|
||||
t = time(NULL);
|
||||
d = localtime(&t);
|
||||
|
||||
sprintf(dt,"%.2d/%.2d/%.2d",d->tm_mday,d->tm_mon+1,d->tm_year );
|
||||
sprintf(dt,"%d/%d/%d",d->tm_mday,d->tm_mon+1,d->tm_year);
|
||||
return dt;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,6 @@ wchar_t* _wstrdate(wchar_t* datestr)
|
|||
}
|
||||
t = time(NULL);
|
||||
d = localtime(&t);
|
||||
swprintf(dt,L"%.2d/%.2d/%.2d",d->tm_mday,d->tm_mon+1,d->tm_year);
|
||||
swprintf(dt,L"%d/%d/%d",d->tm_mday,d->tm_mon+1,d->tm_year);
|
||||
return dt;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue