]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/relativedate.mdwn
Correct copy&paste-o.
[ikiwiki.git] / doc / plugins / relativedate.mdwn
1 [[!template id=plugin name=relativedate author="[[Joey]]"]]
2 [[!tag type/date]]
3
4 This plugin lets dates be displayed in relative form. Examples: "2 days ago", 
5 "1 month and 3 days ago", "30 minutes ago". Hovering over the date will
6 cause a tooltip to pop up with the absolute date.
7
8 This only works in browsers with javascript enabled; other browsers will
9 show the absolute date instead. Also, this plugin can be used with other
10 plugins like [[prettydate]] that change how the absolute date is displayed.
11
12 If this plugin is enabled, you may also add relative dates to pages in the
13 wiki, by using html elements in the "date" class. For example, this will
14 display as a relative date:
15
16         <span class="date">Fri Oct 17 18:36:13 EDT 2008</span>