summaryrefslogtreecommitdiff
path: root/underlays/javascript/relativedate.js
AgeCommit message (Collapse)Author
2010-04-24Moved javascript files under the ikiwiki/ directory, to avoid cluttering the ↵Joey Hess
top of the web root. This is another things that requires a wiki rebuild on upgrade to this version.
2009-04-23relativedate: Deal with clock skew.Joey Hess
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.
2008-10-20use relativedate as the css class for dates that should display relativeJoey Hess
2008-10-17relativedate: New javascript-alicious plugin that makes all dates display ↵Joey Hess
relative, in a very nice way, if I say so myself.