
----- Original Message -----
From: Jeff Garland <azswdude@gmail.com> To: boost@lists.boost.org Cc: Sent: Friday, November 9, 2012 12:52 PM Subject: Re: [boost] [datetime] IANA Time Zone Database
On Thu, Nov 8, 2012 at 8:24 PM, Joshua Boyce <raptorfactor@raptorfactor.com>wrote:
The Boost.Locale docs explain why it it has its own date and time functionality rather than using or building on for example Boost.DateTime:
http://www.boost.org/doc/libs/1_52_0/libs/locale/doc/html/dates_times_timezo...
Thanks that's helpful. Unfortunately, I don't think some of the analysis on this page is correct. Good that I see this now, though so that I can work with Artyom and make sure this stuff is in date_time2 :-)
I mostly had 3 major problems with boost.DateTime: 1. Broken TZ API (you see the discussion, it is not capable of handling all TZ in Olson DB) 2. There is a mixup of POSIX time (ptime) and local time for example stuff like ptime second_clock::local_time() Makes no sense (for me) as POSIX time is by _definition_ UTC time. 3. There was a need of locale aware date handling, which is ok. I think boost date_time can be significantly improved, and I assume boost::locale::date_time as well. I'd be glad to cooperate.
Jeff
Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/