[Issue 1247] New: No time zone info for India

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 25 07:13:28 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1247

           Summary: No time zone info for India
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: steve.teale at britseyeview.com


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.


-- 



More information about the Digitalmars-d-bugs mailing list