התחל במצב לא מקוון עם האפליקציה Player FM !
Implicit time zones and the TZ environment variable
Manage episode 363045614 series 1635850
Sam shares some recent learnings around hydration mismatches when rendering time zoned dates on the server and the client. He talks about using the TZ environment variable to reproduce the issue locally, and how he solved his problem by avoiding impure format and transformation functions from date-fns.
Topics include:
- 0:00 - Intro
- 0:50 - Sever vs. client time zone mismatches, and the TZ environment variable
- 14:34 - Which date-fns functions are impure?
- 23:56 - Using intervals and comparison to remove impurities
Links:
201 פרקים
Manage episode 363045614 series 1635850
Sam shares some recent learnings around hydration mismatches when rendering time zoned dates on the server and the client. He talks about using the TZ environment variable to reproduce the issue locally, and how he solved his problem by avoiding impure format and transformation functions from date-fns.
Topics include:
- 0:00 - Intro
- 0:50 - Sever vs. client time zone mismatches, and the TZ environment variable
- 14:34 - Which date-fns functions are impure?
- 23:56 - Using intervals and comparison to remove impurities
Links:
201 פרקים
כל הפרקים
×ברוכים הבאים אל Player FM!
Player FM סורק את האינטרנט עבור פודקאסטים באיכות גבוהה בשבילכם כדי שתהנו מהם כרגע. זה יישום הפודקאסט הטוב ביותר והוא עובד על אנדרואיד, iPhone ואינטרנט. הירשמו לסנכרון מנויים במכשירים שונים.