Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Last active May 15, 2019 07:08
Show Gist options
  • Save ThaddeusJiang/f3297221a5c3b2d7a293ef55af8be6c8 to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/f3297221a5c3b2d7a293ef55af8be6c8 to your computer and use it in GitHub Desktop.
How to manage timezone?

Client alway use string, the format handle timezone, like: YYYY-MM-DDTHH:mm:ss:SSSZ

Backend handle timezone, graphql date should have a formatString function. like Gatsby Graphql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment