How to outsmart time: Building futuristic JavaScript applications using Temporal
summary
Temporal reaches Stage 3 with a polyfill available and practical demos: nanosecond timestamps and nanosecond precision, calendar-aware parsing, explicit time‑zone handling via zoneDateTime, and built‑in arithmetic like duration.round and duration.total. A live invoice app proves parsing ISO strings, summing per-day durations, rounding to billing increments, and converting 1,000,000s seconds to ~277.777 hours; caveats include polyfill performance and fractional-duration parsing where object notation is safer than decimal strings.
AI-written summary · about
chapters (38)
- 0:00Introduction
- 4:50Welcome
- 5:15About me
- 6:07Recap
- 6:26Date is severely outdated
- 7:15Nanoseconds precision
- 7:45Two big goals
- 8:38Temporal features
- 9:05Temporal API
- 10:17Temporal stage 3 meaning
- 10:51Polyfill implementations
- 11:35Stage process
- 11:48Stage zero
- 12:19Stage one proposal
- 13:20Stage two draft
- 14:02Candidate stage
- 15:18What changed
- 15:35Instant
- 16:02DateTime
- 16:35ZoneTime
- 17:15Polyfill
- 18:11Time Types
- 19:25Summary
- 20:09Arithmetic operations
- 22:50Serialization format
- 28:06What is an ID
- 33:19Invoice calculator
- 33:39Pick a datetime picker
- 36:07TemporalFrom
- 36:42Duration
- 38:37Two ways to define duration
- 40:24Temporal durations
- 42:00Duration serialization format
- 48:59Use cases
- 51:16Profit
- 54:01Links
- 54:59Thanks
- 55:37Questions
related talks
01h 13mTempus Fugit: A story of time
58mIt's Time to Talk About Time
16mA 50-year accident: how JavaScript got Date, and why Temporal exists
29mTemporal: Keep Time on Your Side
19mProgramming in the 4th Dimension - Making Time Make Sense
46mFrom Roman Emperors to the Temporal API: Conquering Dates and Times in JS
50mIt’s About Time! Practical examples of time zones in TypeScript
38mA Matter of Time
