[Bug 98] New: std.date.parse month off by one
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 10 19:32:04 PDT 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=98
Summary: std.date.parse month off by one
Product: D
Version: 0.153
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: funisher at gmail.com
it appears that std.date.parse maybe be off by one...
long time = std.date.parse("10/26/00");
printf(std.string.toString(MonthFromTime(time)));
is 9
january is 0, december is 11
--
More information about the Digitalmars-d-bugs
mailing list