[Issue 2917] std.date fails for all years before 1970

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 25 03:12:00 PST 2010


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



--- Comment #5 from Glenn Haecker <ghaecker at idworld.net> 2010-01-25 03:12:00 PST ---
Created an attachment (id=556)
date_assert.d contains assertions for date.d v2.039 patch

date_assert.d contains test cases, both to demonstrate what's wrong with
std.date and to validate modifications by the supplied patch.

Please note that this file and the provided patch were created on Linux and
contain UNIX-style line endings.

In order to compile date_assert.d with v2.039 phobos before the patch is
applied, you'll need to comment out lines 68 through 84.  These lines contain
tests that call addMonths(), which is not available before the patch is
applied.

You can search for "fails w/o patch" to identify the assert() tests that fail
with out the patch.

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