Get the latest tech news

How the tz database works (2020)


The other day I ran into this timezone issue in Ruby, and that’s when I discovered the tz database for the first time. There were almost no blog posts explaining how it works, so I decided to write one myself. We’ll be using the alpine:3.12 Docker image to test things out. What is it? The tz database is a standardized collection of timezone data and rules used by most systems worldwide to handle timezone conversions.

The other day I ran into this timezone issue in Ruby, and that’s when I discovered the tz database for the first time. Policy changes like this happened throughout the world, and the tz database documents these events in its source files. The tz database source files are composed of three main components: rules, zones, and links.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of works

works

Photo of tz database

tz database

Related news:

News photo

Video Game Blurs (and how the best one works)

News photo

Batman Arkham Shadow VR sequel in the works, actor confirms

News photo

Call of Duty film adaptation officially in the works from Paramount