News for hackers. Stuff that matters.
Re:Smart Time Ago: a new JS lib to update relative timestamp... by saurik on Thursday July 26, 2012 @02:55PM (#4297908)
The simple solution to this is that the server sends a reference time along with the timestamps: when the page loads you calculate the drift from the local time to the reference time, and then adjust local time to server time when you update relative timestamps.

There are no comments on this comment yet.