Skip to content

Instantly share code, notes, and snippets.

View chances's full-sized avatar
🏠
Working from home

Chance Snow chances

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am chances on github.
  • I am chances (https://keybase.io/chances) on keybase.
  • I have a public key whose fingerprint is B1C3 A2AD 288F D899 7FBA 2D89 3041 55A0 1F56 EF2B

To claim this, I am signing this object:

@chances
chances / timezone.js
Created April 10, 2018 22:35
JS Intl.DateTimeFormat resolved timezone
Intl.DateTimeFormat().resolvedOptions().timeZone
// 'America/Los_Angeles'
Intl.DateTimeFormat('en-US', {timeZone: 'UTC'}).resolvedOptions().timeZone
// 'Etc/UTC'