projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbcc10c
)
User the user-specific date format instead of a hard-coded one.
author
Eric Kohl
<eric.kohl@reactos.org>
Sat, 31 May 2008 20:09:17 +0000
(20:09 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sat, 31 May 2008 20:09:17 +0000
(20:09 +0000)
svn path=/trunk/; revision=33791
reactos/dll/cpl/appwiz-new/appwiz.c
patch
|
blob
|
history
diff --git
a/reactos/dll/cpl/appwiz-new/appwiz.c
b/reactos/dll/cpl/appwiz-new/appwiz.c
index
7284679
..
326b3c4
100644
(file)
--- a/
reactos/dll/cpl/appwiz-new/appwiz.c
+++ b/
reactos/dll/cpl/appwiz-new/appwiz.c
@@
-243,7
+243,8
@@
GetARPInfo(LPCWSTR szName, LPWSTR szPath, LPWSTR szSize, LPWSTR szLastUsed)
{
if (((int)localtime.wYear > 1900) && ((int)localtime.wYear < 3000))
{
- swprintf(szLastUsed, L"%02d.%02d.%02d", localtime.wMonth, localtime.wDay, localtime.wYear);
+ GetDateFormat(LOCALE_USER_DEFAULT, DATE_SHORTDATE, &localtime,
+ NULL, szLastUsed, 256);
}
else wcscpy(szLastUsed,L"---");
}