Artwork

Treść dostarczona przez Frontend First, Sam Selikoff, and Ryan Toronto. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Frontend First, Sam Selikoff, and Ryan Toronto lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.
Player FM - aplikacja do podcastów
Przejdź do trybu offline z Player FM !

Implicit time zones and the TZ environment variable

46:17
 
Udostępnij
 

Manage episode 363045614 series 1635850
Treść dostarczona przez Frontend First, Sam Selikoff, and Ryan Toronto. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Frontend First, Sam Selikoff, and Ryan Toronto lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.

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:

  continue reading

201 odcinków

Artwork
iconUdostępnij
 
Manage episode 363045614 series 1635850
Treść dostarczona przez Frontend First, Sam Selikoff, and Ryan Toronto. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Frontend First, Sam Selikoff, and Ryan Toronto lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.

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:

  continue reading

201 odcinków

Semua episode

×
 
Loading …

Zapraszamy w Player FM

Odtwarzacz FM skanuje sieć w poszukiwaniu wysokiej jakości podcastów, abyś mógł się nią cieszyć już teraz. To najlepsza aplikacja do podcastów, działająca na Androidzie, iPhonie i Internecie. Zarejestruj się, aby zsynchronizować subskrypcje na różnych urządzeniach.

 

Skrócona instrukcja obsługi

Posłuchaj tego programu podczas zwiedzania
Odtwarzanie