4 ms·
I wish more sites would use this (even with a fallback). Twitter right now is showing me timestamps in Pacific time because they trust their geolocation too muc
by dgl 12y ago
I wish more sites would use this (even with a fallback). Twitter right now is showing me timestamps in Pacific time because they trust their geolocation too much.
- jrochkind1 12y agoIs there anything in these tools that will help web apps determine your timezone any better then they can now? I did't catch that. I'm not sure how they possibly would.
- thomasfoster96 12y agoWell, I'm not sure if JavaScript's date constructor has issues with accuracy, but I'm pretty sure you can get the timezone offset in minutes using the following: (new Date()).getTimezoneOffset() I'd assume it's returning the system time zone offset, and for me it's correct.