boostorg / boostorg/date_time

Retire built-in and aging time zone database in favor of using IANA

Open
#67 9 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
70
Forks
99
PR merge metrics
No merged PRs in 30d

Description

### Problem ###

If you apply timezone to a time in the past and that timezone changed the timezone specification to behave differently after a certain point, the existing timezone database does not encapsulate the older formats. Therefore the result is wrong for times in the past where that timezone changed rules.

### Solution ###

The IANA time zone database is the most complete database available:

https://www.iana.org/time-zones

They have data, code, or combined releases. Their time zone information contains the start and end time for each zone change - something that the built-in csv file in the data directory does not have.

Recommend retiring the built-in time zone database in favor of using the IANA database and modifying the time zone code to apply time zones based on the valid time ranges for those zones. Sounds like a fair amount of work.

### Background ###

https://svn.boost.org/trac10/ticket/10087
https://svn.boost.org/trac10/ticket/596

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.