~/talk

It’s About Time! Practical examples of time zones in TypeScript

Talkat CPH DevFest 2024 · 2024-08-26..08-30· [typescript, web-platform]
slides:none on file

Practical, code-level takeaways for TypeScript: JavaScript Date is unreliable for time zones, parsers, mutable objects and DST edge cases (one-millisecond add can roll you across DST); use Luxon for immutable, zone-aware DateTime, Duration and Interval types and to preserve or convert offsets; plan storage by keeping user time zone on user-generated timestamps versus UTC for system events; expect the upcoming Temporal polyfill and prefer UTC vs local transparency in logs and UIs.

AI-written summary · about

  1. 0:00Time zones in software
  2. 3:09Politics shaping time zones
  3. 10:16Time zone challenges
  4. 13:54JavaScript time zone pitfalls
  5. 21:43Database datetime storage
  6. 23:05JavaScript time formats
  7. 27:37JavaScript time math issues
  8. 31:14Date object problems
  9. 33:19Moment.js no longer viable
  10. 34:21Choosing a datetime library
  11. 35:24Luxon time zone features
  12. 42:07Future of JavaScript time with Temporal
  13. 47:46Key takeaways
~/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.