Time, Numbers, Text
summary
Use IANA timezone names and local wall-clock times, keep the tz database updated, and centralize all time calculations in a single service. Represent money with integer cents or fixed decimals and apply bankers’ rounding instead of JavaScript binary floats. Handle text with proper Unicode normalization and collation, accounting for surrogate pairs, grapheme clusters, and the ICU/Intl data requirements unless shipping a trimmed build.
AI-written summary · about
chapters (15)
- 0:00Time, numbers, text intro
- 3:30User data issues
- 6:23Time zones and dates problems
- 10:21User time zone detection
- 12:49Numbers and money calculations
- 15:36Rounding and bank payments
- 17:28Text and writing difficulties
- 21:58Unicode character limits
- 24:50Text normalization issues
- 27:42Unicode character unification
- 30:15Multilingual text sorting
- 33:47Text normalization and search
- 35:31ICU library role
- 37:14Time, numbers, text errors
- 38:19Recommendations and conclusions
related talks
38mUTC is Enough for Everybody, Right?
01h 05mWorking with Time is Easy
43mTime is an illusion (lunchtime doubly so)
33mUTC is Enough for Everybody, Right?
01h 05mWelcome To The Time Zone
01h 00mDates and times aren't that hard - honestly!
50mIt’s About Time! Practical examples of time zones in TypeScript
46mTime Zones and Calendars are a PITA
