aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrysn <chrysn@fsfe.org>2014-07-05 18:08:08 +0200
committerchrysn <chrysn@fsfe.org>2014-07-05 18:08:08 +0200
commit5935c6b17dcf05b8ec7d10623098961ccf059555 (patch)
treec379c0b0d65f80fcd517c22ccf0617c83e08be27
parentbbe22b70d1d2f63e3f11af8493362b7f8673512f (diff)
downloadikiwiki-5935c6b17dcf05b8ec7d10623098961ccf059555.tar
ikiwiki-5935c6b17dcf05b8ec7d10623098961ccf059555.tar.gz
suggestion on formatted times
-rw-r--r--doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn
index e88f0cc9d..73f04adf0 100644
--- a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn
+++ b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn
@@ -70,3 +70,10 @@ Changes to the structure of `$pagestate{$registering_page}{edittemplate}{$pagesp
>>> timestamp variables/objects, so I left the naming as it was.
>>>
>>> --[[smcv]]
+
+>>>> the ready/edittemplate branch looks good to me too. `formatted_time` and
+>>>> `html_time` probably don't hurt, but personally i'd not add either and
+>>>> instead expose displaytime as a directive, for otherwise migrating to
+>>>> html5 would leave old evaluations of displaytime around in the repository.
+>>>> (example template: `\[[!meta date="<TMPL_VAR time>"]]I wrote this post at
+>>>> \[[!displaytime "<TMPL_VAR time>"]]`). --[[chrysn]]