Programming in the 4th Dimension - Making Time Make Sense
summary
JavaScript's Date is an incomplete, mutable model that misparses ISO strings, mishandles DST gaps and odd offsets like Nepal's +5:45, and causes real-world failures from payroll to insulin pumps. The proposal introduces a new global with types for absolute timestamps (bigint nanosecond precision), local date/time, date-only/time-only, IANA time zone objects, durations and calendar types, offers a working polyfill, and is progressing from Stage 2 toward Stage 3.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:54DID YOU KNOW...
- 3:25MEET THE WORST SOLUTION POSSIBLE.
- 4:15MUTABILITY
- 7:31ABSOLUTE SCENARIOS
- 9:10DATETIME SCENARIOS
- 9:37USING DATETIME
- 15:31EXACTLY HOW OLD IS MR SULU
- 16:10ALTERNATE CALENDARS
- 18:25MAGGIE JOHNSON-PINT
related talks
58mIt's Time to Talk About Time
22mThe Past, Present, and Future of JavaScript Date and Time APIs
16mA 50-year accident: how JavaScript got Date, and why Temporal exists
29mTemporal: Keep Time on Your Side
01h 04mHow to outsmart time: Building futuristic JavaScript applications using Temporal
01h 13mTempus Fugit: A story of time
50mIt’s About Time! Practical examples of time zones in TypeScript
01h 00mDates and times aren't that hard - honestly!
