~/talk

From Roman Emperors to the Temporal API: Conquering Dates and Times in JS

TalkinRussianat HolyJS 2024 Autumn · 2024-11-07..11-15· [web-platform, javascript]
links:none on file
slides:none on file

Explains why dates and times cause bugs in JavaScript by covering calendar dates, timescales, time zones, and locale-specific formatting, with historical examples (Roman reforms, British railways) and flaws of the existing Date API. Introduces the upcoming Temporal API: its conceptual model, code examples, advantages and disadvantages, and migration challenges.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Why time is hard
  3. 4:00Calendar dates history
  4. 9:26Measuring time and UTC
  5. 15:26Time zones paradoxes
  6. 19:00Date-time formatting issues
  7. 22:11Native Date API problems
  8. 23:17Temporal API overview
  9. 24:00Temporal classes: Instant, PlainDate, PlainTime
  10. 26:31Temporal classes: PlainDateTime, ZonedDateTime
  11. 30:27Temporal classes: Duration and math
  12. 36:45Temporal DST resolution
  13. 37:58Converting Date and Temporal
  14. 39:12Temporal pros and cons
  15. 42:19Temporal future and conclusion
  16. 43:43Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.