
9 Nov
2012
9 Nov
'12
10:25 a.m.
On 09/11/12 05:57, Markus Raab wrote:
Artyom Beilis wrote:
You can use Boost.Locale that is compiled with ICU backend.
ICU supports Time Zone database and you can specify the timezone by its name, parse time or create
date_time object and get POSIX (UTC) time form it.
On POSIX systems with tzdata installed Boost.Locale could also have this feature without ICU. Any plans to do this?
Not sure if it could, since there is no official API in C standard library to do timezone conversions between arbitrary timezones and UTC. Only between the local timezone and UTC. http://sourceware.org/bugzilla/show_bug.cgi?id=11620 -- Maxim