Closed ghost closed 11 years ago
Changed it the other way around. The timeago plugin should pick up the time from your browser, and should be more accurate.
Mh, this way round, the times are 5h off on my machine, and my local time is set correctly, etc.. Any idea?
nevermind, I guess my local version is missing a few other things as well... I will figure it out
Yeah, I'm not sure why this is not working for you. My server's running on UTC and that's how the time is being reported, and the relative timestamps work correctly on my timezone (IST) when I view it on my browser.
On my setup, the time displayed on the main page ("XX minutes ago", etc.) was correct, but the display on the build page of a certain project was 5h off. I checked the code, my machine's clocks, the timezones, etc... and couldn't find it. However, I noticed, that two different pieces of code are used to basically compute the same. So I did the following change to use the same code and get the clocks always in sync: