Mastering date/time handling with Elixir
summary
History of time and concrete problems — leap seconds arrive roughly every 18 months and break naive 0–59 second checks, daylight‑saving causes full‑hour skips or repeats, and compiled zone data used to require huge memory and forced releases. Tzdata moves from macro compilation to ETS and OTP concurrency, updating timezone data in seconds; a live Phoenix clock demo shows atomic time UTC TAI leap seconds and wall time shifts. Calendar plus Phoenix and Ecto adapters validate types and avoid silent guessing.
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:21Mastering date/time with Elixir
- 13:08Your computer does not fully support the official time used in society
- 14:56CST - Cuba Standard Time CST - Chinese Standard Time CST - Central Standard Time
- 16:17TIMEZONE DATA IN ELIXIR: The Tzdata library
- 16:34BEFORE: DATA COMPILED INTO A MODULE
- 17:25MAINTAINER HAD TO FIND OUT ABOUT THE NEW DATA
- 17:47FIND OUT ABOUT THE NEW VERSION OF TZDATA
- 21:12NO ACCESS TO TIMEZONE DATA
- 23:27ONLY SAVE THE INFORMATION YOU KNOW
- 25:48An unspecified global mutable variable.
- 26:40USE THE CORRECT TYPE
- 31:58Calendar for Ecto: Calecto








