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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 23 23:35:28 PDT 2011


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



--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-03-23 23:32:08 PDT ---
Now, _that_ was a nasty little math bug. Well, I now have a fix, and if you
need it, the code can be gotten here:

https://github.com/jmdavis/phobos/tree/datetime

I'm revamping std.datetime's unit tests at the moment, and I probably won't
create a pull request until that's done. Also, with these changes, the unit
tests currently fail on Windows due to bug# 5781, so that's going to need to be
fixed before a pull request is made. However, the changes are posted in the
datetime branch of my github repository if you need them before they actually
get merged into Phobos proper.

-- 
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