You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Not sure whether it's always been the case but nowadays you can just switch the timezone on runtime and even though the changes are not permanent, you can find out which timezone Google (or whatever other provider) takes in just a matter of seconds.
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?
The text was updated successfully, but these errors were encountered: