[Bug 28560] Time is 1 hour behind in cmd.exe and notepad (F5)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 4 14:38:43 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28560

Dmitry <dab1818 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dab1818 at gmail.com

--- Comment #15 from Dmitry <dab1818 at gmail.com> 2011-10-04 14:38:43 CDT ---
(In reply to comment #14)
> Another guess would be that the distro has updated the daylight saving time
> rules according to new legislation ...

yes.

tested on gentoo linux.

with timezone-data-2011d (outdated):
system date: 
LC_ALL=C date
Tue Oct  4 23:29:02 MSD 2011
system zoneinfo:
/usr/sbin/zdump -v /etc/localtime |grep 2011
/etc/localtime  Sat Mar 26 22:59:59 2011 UTC = Sun Mar 27 01:59:59 2011 MSK
isdst=0
/etc/localtime  Sat Mar 26 23:00:00 2011 UTC = Sun Mar 27 03:00:00 2011 MSD
isdst=1
/etc/localtime  Sat Oct 29 22:59:59 2011 UTC = Sun Oct 30 02:59:59 2011 MSD
isdst=1
/etc/localtime  Sat Oct 29 23:00:00 2011 UTC = Sun Oct 30 02:00:00 2011 MSK
isdst=0


wine trace:
trace:ntdll:init_tz_info tz data will be valid through year 2011
trace:ntdll:init_tz_info year_start: Sat Jan  1 00:00:00 2011
trace:ntdll:init_tz_info year_end: Sat Dec 31 23:59:59 2011
trace:ntdll:init_tz_info bias: -180
trace:ntdll:init_tz_info std: Sun Oct 30 02:00:00 2011
trace:ntdll:init_tz_info dlt: Sun Mar 27 03:00:00 2011
trace:ntdll:init_tz_info dlt gmtime: Sun Mar 27 02:00:00 2011
trace:ntdll:init_tz_info daylight (d/m/y): 27/03/2011 day of week 0 2:00:00.000
bias -60
trace:ntdll:init_tz_info std gmtime: Sun Oct 30 03:00:00 2011
trace:ntdll:init_tz_info standard (d/m/y): 30/10/2011 day of week 0 3:00:00.000
bias 0
...............................
trace:ntdll:find_reg_tz_info L"Russian Standard Time": bias -180
trace:ntdll:find_reg_tz_info std (d/m/y): 5/10/0000 day of week 0 3:00:00.000
bias 0
trace:ntdll:find_reg_tz_info dst (d/m/y): 5/03/0000 day of week 0 2:00:00.000
bias -60

wine time is correct.

with sys-libs/timezone-data-2011j (current):

system date: 
LC_ALL=C date
Tue Oct  4 23:31:30 MSK 2011
system zoneinfo:
/usr/sbin/zdump -v /etc/localtime |grep 2011
/etc/localtime  Sat Mar 26 22:59:59 2011 UTC = Sun Mar 27 01:59:59 2011 MSK
isdst=0
/etc/localtime  Sat Mar 26 23:00:00 2011 UTC = Sun Mar 27 03:00:00 2011 MSK
isdst=0

wine trace:

trace:ntdll:init_tz_info tz data will be valid through year 2011
trace:ntdll:init_tz_info year_start: Sat Jan  1 00:00:00 2011
trace:ntdll:init_tz_info year_end: Sat Dec 31 23:59:59 2011
trace:ntdll:init_tz_info bias: -180
trace:ntdll:init_tz_info std: Thu Jan  1 03:00:00 1970
trace:ntdll:init_tz_info dlt: Sun Jan  1 00:00:00 2012
trace:ntdll:init_tz_info there is no daylight saving rules in this time zone
trace:ntdll:find_reg_tz_info L"Afghanistan Standard Time": bias -270
trace:ntdll:find_reg_tz_info std (d/m/y): 0/00/0000 day of week 0 0:00:00.000
bias 0
trace:ntdll:find_reg_tz_info dst (d/m/y): 0/00/0000 day of week 0 0:00:00.000
bias 0
trace:ntdll:find_reg_tz_info L"Alaskan Standard Time": bias 540
trace:ntdll:find_reg_tz_info std (d/m/y): 1/11/0000 day of week 0 2:00:00.000
bias 0
trace:ntdll:find_reg_tz_info dst (d/m/y): 2/03/0000 day of week 0 2:00:00.000
bias -60
trace:ntdll:find_reg_tz_info L"Arab Standard Time": bias -180
trace:ntdll:find_reg_tz_info std (d/m/y): 0/00/0000 day of week 0 0:00:00.000
bias 0
trace:ntdll:find_reg_tz_info dst (d/m/y): 0/00/0000 day of week 0 0:00:00.000
bias 0

wine time is 1 hour behind.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list