Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10087: Need to update date_time_zonespec.csv for Moscow
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-04 19:40:18
#10087: Need to update date_time_zonespec.csv for Moscow
----------------------------------+------------------------
Reporter: Eric C <eric.cyw@â¦> | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: moscow
----------------------------------+------------------------
Comment (by John Patterson <jpatterson@â¦>):
I actually have Moscow as this:
Europe/Moscow MSK MSK +03:00:00 +00:00:00 +00:00:00
I don't know if I'm the only one who was getting frustrated by how out of
date the date_time_zonespec.csv file was getting, and it seemed like the
original authors didn't really intend to be in the perpetual business of
maintaining this. From boost/date_time/tz_db_base.hpp:
/*! The csv file containing the zone_specs used by the
* tz_db_base is intended to be customized by the
* library user. When customizing this file (or creating your own) the
* file must follow a specific format.
So, fair enough. But I still need an up to date database. Turns out the
Python pytz library is well maintained, and updates pretty much in
lockstep with IANA time region changes. I've written a Python routine
that emits the csv file using whatever version of pytz that's installed.
If anyone is using this, I'd be happy to contribute the code. Or maybe
I'm the only lunatic using this.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10087#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC