forked from al177/twostep
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hey. It took me several hours of goofing around to figure out the correct timezone offset to use.
I am in Portland, Oregon, which falls in the "PDT" zone.
For my authenticator to work as expected, I needed to use an offset of -7.
This doesn't match up with what documentation I can find online about how UTC works (like http://www.worldtimezone.com/ for example).
Please correct me if I'm wrong, but a simple commented table like this in the source could help:
// US TIME ZONES with DST in Effect
// PDT (GMT-8)=-7
// MDT (GMT-7)=-6
// CDT (GMT-6)=-5
// EDT (GMT-5)=-4
If nothing else, hopefully anyone else having issues with timezone will be able to find my post and maybe save some time?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels