---
title: "Discussion on \"How to avoid and debug most of timezone problems in production\" | Hashnode"
description: "Discussion on \"How to avoid and debug most of timezone problems in production\". Have you ever been struggling to reproduce a weird bug happening only on production? \nSome offset between what you have in local (that obviously works perfectly) and what your clients see on this evil, inaccessible server?\nIf you're using anything ot..."
url: "https://hashnode.com/posts/how-to-avoid-and-debug-most-of-timezone-problems-in-production/5ec4e32dc3a6003a777e3407"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to avoid and debug most of timezone problems in production](https://hashnode.badia.cc/how-to-avoid-and-debug-most-of-timezone-problems-in-production?utm_source=hashnode&utm_medium=feed)

Have you ever been struggling to reproduce a weird bug happening only on production? Some offset between what you have in local (that obviously works perfectly) and what your clients see on this evil, inaccessible server? If you're using anything ot...

May 20, 2020 · hashnode.badia.cc  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Raphaël Badia](https://hashnode.com/@raphaelbadia)

@raphaelbadia

  
[View profile](https://hashnode.com/@raphaelbadia)

Frontend engineer at Maiia

## Responses 1

Markdown supported · ⌘↵ to post

[Xingheng Wang](https://hashnode.com/@xngwng)

[May 21, 2020](https://hashnode.com/posts/how-to-avoid-and-debug-most-of-timezone-problems-in-production/5ec4e32dc3a6003a777e3407/comment/5ec5d50da7a2c43b12373b93)

Nice. also I want to share some of the learning we had regarding best ways to handle timezones :

[moesif.com/blog/technical/timestamp/manage-dateti…](https://www.moesif.com/blog/technical/timestamp/manage-datetime-timestamp-timezones-in-api/)
