summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/relativedate.pm
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.
2010-03-19audited use POSIXJoey Hess
The POSIX perl module exports a huge number of functions by default, so make sure all imports are qualified. (And remove one that was not necessary.)
2009-09-28toggle, relativedate: Support templates that add attributes to the body tag.Joey Hess
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-10-21function injection overhaulJoey Hess
Add an inject function, that can be used by plugins that want to replace one of ikiwiki's functions with their own version. (This is a scary thing that grubs through the symbol table, and replaces all exported occurances of a function with the injected version.) external: RPC functions can be injected to replace exported functions. Removed the stupid displaytime hook, and use injection instead.
2008-10-20use relativedate as the css class for dates that should display relativeJoey Hess
2008-10-19add displaytime hookJoey Hess
Need to use a hook because an exported function cannot be reliably overridden. The replacement verstion was actually only affecting plugins loaded after it. formattime doesn't need a hook, since there's no reason to export it.
2008-10-19need to use localtime, fix widthJoey Hess
2008-10-19fix relativedate timezone inclusionJoey Hess
The machine parseable date needs to include a timezone. Also, simplified the interface for date display.
2008-10-17add missing getsetup hookJoey 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.