X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/68b88d4b22317d2abd63221e2e396dd9bd243ac0..97819910b83aed6784e78cc28554584785d92497:/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn 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 b85f3298b..6d702fedf 100644 --- a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn +++ b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn @@ -47,10 +47,10 @@ Changes to the structure of `$pagestate{$registering_page}{edittemplate}{$pagesp >> better way based on that, maybe global configuration in `$config`. >> --[[smcv]] ->>> [[!template id=gitbranch branch=smcv/ready/edittemplate - browse=http://git.pseudorandom.co.uk/smcv/ikiwiki.git/shortlog/refs/heads/ready/edittemplate +>>> [[!template id=gitbranch branch=smcv/ready/edittemplate2 + browse=http://git.pseudorandom.co.uk/smcv/ikiwiki.git/shortlog/refs/heads/ready/edittemplate2 author="Jonathon Anderson, [[smcv]]"]] ->>> Here is a version of that branch that I would merge if I could. +>>> Here is a version of that branch that I [[would merge|users/smcv/ready]] if I could. >>> Changes since Jonathon's version: >>> >>> * only generate a UUID if needed @@ -70,3 +70,18 @@ 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=""]]I wrote this post at +>>>> \[[!displaytime ""]]`). --[[chrysn]] + +>>>>> That's a very good point; and Joey added `\[[!date "]]`, +>>>>> which does the same thing as your hypothetical `\[[!displaytime]]`, +>>>>> almost 5 years ago. Branch replaced by `smcv/ready/edittemplate2` +>>>>> which drops `formatted_time` and `html_time`, and adds a suggestion +>>>>> to use `\[[!date]]`. --[[smcv]] + +>>>>>> [[merged|done]] --[[smcv]]