[tz] [tz-announce] 2018g release of tz code and data available

Aldrin Martoq Ahumada aldrin.martoq at gmail.com
Mon Oct 29 03:33:49 UTC 2018


Hello all,

Just a friendly reminder that you may get help from the A0 Time Zone Migration utilities to programatically get the diffs between tzdb releases, so you can check/correct your data once a new tzdb is installed in your systems.


Documentation for this OSS project is at: https://a0.github.io/a0-tzmigration/ <https://a0.github.io/a0-tzmigration/> for ruby and javascript.

Examples of latest changes from 2018e to 2018f for:
- Europe/Volgograd
https://a0.github.io/a0-tzmigration/demo/?ta=Europe%2FVolgograd&va=2018e&tb=Europe%2FVolgograd&vb=2018f&m=timeline <https://a0.github.io/a0-tzmigration/demo/?ta=Europe/Volgograd&va=2018e&tb=Europe/Volgograd&vb=2018f&m=timeline>

- Pacific/Fiji
https://a0.github.io/a0-tzmigration/demo/?ta=Pacific%2FFiji&va=2018e&tb=Pacific%2FFiji&vb=2018f&m=table <https://a0.github.io/a0-tzmigration/demo/?ta=Pacific/Fiji&va=2018e&tb=Pacific/Fiji&vb=2018f&m=table>

- America/Santiago
https://a0.github.io/a0-tzmigration/demo/?ta=America%2FSantiago&va=2018e&tb=America%2FSantiago&vb=2018f&m=timeline <https://a0.github.io/a0-tzmigration/demo/?ta=America/Santiago&va=2018e&tb=America/Santiago&vb=2018f&m=timeline>

from 2018f to 2018g for:
- Africa/Casablanca:
https://a0.github.io/a0-tzmigration/demo/?ta=Africa%2FCasablanca&va=2018f&tb=Africa%2FCasablanca&vb=2018g&m=timeline <https://a0.github.io/a0-tzmigration/demo/?ta=Africa/Casablanca&va=2018f&tb=Africa/Casablanca&vb=2018g&m=timeline>




Getting the same diff in code is as simple as the following:

import { TZVersion } from 'a0-tzmigration-js'

// calculate changes from America/Santiago 2018e to America/Santiago 2018f
let version_a = new TZVersion('America/Santiago', '2018e')
let version_b = new TZVersion('America/Santiago', '2018f')

let changes = await version_a.changes(version_b)
console.log(changes)


HTH,

— 
Aldrin.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20181029/45a7c2a9/attachment.htm>


More information about the tz mailing list