aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/relativedate.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugins/relativedate.mdwn')
-rw-r--r--doc/plugins/relativedate.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/plugins/relativedate.mdwn b/doc/plugins/relativedate.mdwn
new file mode 100644
index 000000000..d6e8eb08b
--- /dev/null
+++ b/doc/plugins/relativedate.mdwn
@@ -0,0 +1,11 @@
+[[!template id=plugin name=relativedate author="[[Joey]]"]]
+[[!tag type/date]]
+[[!tag type/chrome]]
+
+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.