[Issue 5761] New: std.datetime: Date.this(int day) conversion fails for Dec 30 of leap years

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 21 05:02:47 PDT 2011


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

           Summary: std.datetime: Date.this(int day) conversion fails for
                    Dec 30 of leap years
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: jmdavisProg at gmx.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir <thecybershadow at gmail.com> 2011-03-21 04:59:29 PDT ---
import std.datetime;

void main()
{
    assert(SysTime(Date(2008, 12, 30)).day == 30);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list