2008-10-19 18:14:08 +02:00
|
|
|
[[!template id=plugin name=relativedate author="[[Joey]]"]]
|
2008-10-18 02:47:32 +02:00
|
|
|
[[!tag type/date]]
|
|
|
|
|
|
|
|
This plugin lets dates be displayed in relative form. Examples: "2 days ago",
|
|
|
|
"1 month and 3 days ago", "30 minutes ago". Hovering over the date will
|
|
|
|
cause a tooltip to pop up with the absolute date.
|
|
|
|
|
|
|
|
This only works in browsers with javascript enabled; other browsers will
|
|
|
|
show the absolute date instead. Also, this plugin can be used with other
|
|
|
|
plugins like [[prettydate]] that change how the absolute date is displayed.
|
|
|
|
|
|
|
|
If this plugin is enabled, you may also add relative dates to pages in the
|
2008-10-21 01:22:22 +02:00
|
|
|
wiki, by using html elements in the "relativedate" class. For example, this
|
|
|
|
will display as a relative date:
|
2008-10-18 02:47:32 +02:00
|
|
|
|
2008-10-21 01:22:22 +02:00
|
|
|
<span class="relativedate">Fri Oct 17 18:36:13 EDT 2008</span>
|