Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add news item for ikiwiki 3.20140227
[git.ikiwiki.info.git]
/
doc
/
plugins
/
relativedate.mdwn
diff --git
a/doc/plugins/relativedate.mdwn
b/doc/plugins/relativedate.mdwn
index 121bce477cc1886f04607acb59fdf2eb527919c7..d6e8eb08bdb6a00d39f88368e066d0f838200c11 100644
(file)
--- a/
doc/plugins/relativedate.mdwn
+++ b/
doc/plugins/relativedate.mdwn
@@
-1,5
+1,6
@@
[[!template id=plugin name=relativedate author="[[Joey]]"]]
[[!tag type/date]]
[[!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
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
@@
-8,9
+9,3
@@
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.
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
-wiki, by using html elements in the "date" class. For example, this will
-display as a relative date:
-
- <span class="date">Fri Oct 17 18:36:13 EDT 2008</span>