mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[TIMEDATE]
- Correctly show current time zone name even if no daylight saving settings are set. Patch by Lee Schroeder. CORE-6803 #resolve #comment Fixed, thanks. Sorry for the long wait. svn path=/trunk/; revision=58126
This commit is contained in:
parent
dc303b40f8
commit
d655fccbd2
1 changed files with 1 additions and 4 deletions
|
@ -123,6 +123,7 @@ SetTimeZoneName(HWND hwnd)
|
|||
switch (TimeZoneId)
|
||||
{
|
||||
case TIME_ZONE_ID_STANDARD:
|
||||
case TIME_ZONE_ID_UNKNOWN:
|
||||
wcscpy(TimeZoneName, TimeZoneInfo.StandardName);
|
||||
break;
|
||||
|
||||
|
@ -130,10 +131,6 @@ SetTimeZoneName(HWND hwnd)
|
|||
wcscpy(TimeZoneName, TimeZoneInfo.DaylightName);
|
||||
break;
|
||||
|
||||
case TIME_ZONE_ID_UNKNOWN:
|
||||
LoadStringW(hApplet, IDS_TIMEZONEUNKNOWN, TimeZoneName, 128);
|
||||
break;
|
||||
|
||||
case TIME_ZONE_ID_INVALID:
|
||||
default:
|
||||
LoadStringW(hApplet, IDS_TIMEZONEINVALID, TimeZoneName, 128);
|
||||
|
|
Loading…
Reference in a new issue