|
Boost : |
Subject: Re: [boost] [datetime] IANA Time Zone Database
From: Maxim Yegorushkin (maxim.yegorushkin_at_[hidden])
Date: 2012-11-09 05:25:20
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk