www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1247] New: No time zone info for India

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: steve.teale 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.


-- 
May 25 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1247


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 1.018 and DMD 2.002


-- 
Jul 01 2007