aboutsummaryrefslogtreecommitdiff
path: root/underlays/javascript/relativedate.js
Commit message (Expand)AuthorAge
* relativedate: Deal with clock skew.•••If the server has a clock running a bit ahead of the web browsing client, relativedate could cause somewhat confusing displays like "3 seconds from now" for just posted things. As a hack, avoid displaying times in the future if they're less than a small slip forward. I chose 30 minutes because both client and server could be wrong in different directions, while it's still close enough that "just now" is not horribly wrong. Joey Hess2009-04-23
* use relativedate as the css class for dates that should display relativeJoey Hess2008-10-20
* relativedate: New javascript-alicious plugin that makes all dates display rel...Joey Hess2008-10-17