Branch: Tag:

2017-12-24

2017-12-24 02:13:38 by Stephen R. van den Berg <srb@cuci.nl>

Val.Timestamp: Properly preset isdst to 0 when querying UTC; adjust testsuite.

839:    days = copy->nsecs / (24 * 3600 * NANOSECONDS) - (copy->nsecs < 0);    }    variant protected void create(mapping(string:int) tm) { -  create(mktime(tm + (["timezone":0]))); +  create(mktime(tm + (["isdst":0, "timezone":0])));    }    variant protected void create(int unix_time) {    days = unix_time / (24 * 3600);