Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-04-11 09:07:41


Bugs item #1698418, was opened at 2007-04-11 09:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1698418&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Luke J (ljj116)
Assigned to: Nobody/Anonymous (nobody)
Summary: date_time library supports only the current dst rule

Initial Comment:
As one could expect, from the layout of the csv file, the date_time library only supports the current daylight saving time (DST) rule. This issue will become more apparent once the csv file is updated to support the new DST rules for the US. Dates from 2007 forward will be correct, but differentials calculated with years prior to 2007 may be incorrect.

For instance if you do a "seconds since epoch" conversion on a date between March 12, 2006 and April 2, 2006 (gap between old rules and new rules), the result will be skewed by 3600 seconds (one hour). This will be because the library thinks that DST was in effect during this time (new rules), but it was not (old rules).

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1698418&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk