rmm5t/jquery-timeago — Issue #50: Chrome is broken when working in different timezone
Author: JonSidnell
Created: 2012-01-09 15:01:36+00:00
State: open

We're working on allowing users to specify their timezone for our site. One area we use timeago for is to display when notes were added against a contact in a more friendly format. To do this, we render out the localised time in markup.

I'm working in a UTC- 03:00 timezone to make sure our site works as required, and IE/Firefox are working as I would have expected i.e. creating a note displays "about 10 seconds ago" when rendering it out and applying timeago.

Chrome is a different story! Creating a note shows the note as created "about 3 hours ago". I can only imagine that Chrome is working with dates in UTC time rather than the client machine's timezone.

Does this match anyone else's experience, and is there a fix for it?

Thanks very much,
Jon