Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #442 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

DST not considered by Utc

Reported by: Carlos Assigned to: kris
Priority: major Milestone:
Component: Tango Version: trunk
Keywords: Cc:

Description

#307 has been closed, but Tango still doesn't take daylight saving time into consideration.

Change History

05/02/07 17:04:11 changed by Carlos

  • priority changed from minor to major.

[2128] made it stop compiling:

bud system/localtime.d -noautoimport -op -clean -full -g -debug -I.. -Tsystem/localtime -unittest
/Users/carlos/Development/d/tango/trunk/tango/util/time/Date.d:267: Error: undefined identifier timelocal
/Users/carlos/Development/d/tango/trunk/tango/util/time/Date.d:267: Error: function expected before (), not timelocal of type int

05/02/07 17:08:57 changed by Carlos

  • status changed from new to closed.
  • resolution set to fixed.

[2130] fixed it.

05/03/07 01:02:30 changed by Carlos

  • status changed from closed to reopened.
  • resolution deleted.

It's off by an hour now (double DST?). Rev [2137]

$ system/localtime && date
Thu, May 03 11:00:58 GMT06:00 2007
Thu May  3 00:00:58 CDT 2007

05/03/07 01:38:27 changed by kris

hrm ... could you try fussing with Utc.d method bias() at line 205? I may have the order inverted :(

05/03/07 10:32:27 changed by Carlos

What do you mean? I can't find anything that may have "the order inverted"...

05/03/07 19:41:56 changed by Carlos

  • status changed from reopened to closed.
  • resolution set to fixed.

Looks good now with [2142]. Thanks!