Bug 1247 – No time zone info for India

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2007-05-25T09:13:00Z
Last change time
2015-06-09T05:15:03Z
Assigned to
bugzilla
Creator
steve.teale

Comments

Comment #0 by steve.teale — 2007-05-25T09:13:27Z
There’s a bug in Phobos date.d. In getLocalTZA you skip the case where the return value from GetTimeZoneInformation is TIME_ZONE_ID_UNKNOWN. The documentation says: Windows Server 2003, Windows XP/2000/NT: This value is returned if daylight saving time is not used in the current time zone, because there are no transition dates. This screws you up in India, since there is no daylight saving time here.
Comment #1 by bugzilla — 2007-07-01T14:08:21Z
Fixed DMD 1.018 and DMD 2.002