From acbf87657b6c88719148266100b91a61e29a0546 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 7 Oct 2015 18:35:23 +0100 Subject: [PATCH] Switch to absolute date format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The present implementation of relative dates doesn’t auto-update, nor does it work effectively in static renderings. Until that’s fixed, I think it is better to switch to absolute dates. --- core/language/en-GB/Misc.multids | 1 + core/ui/ViewTemplate/subtitle.tid | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/language/en-GB/Misc.multids b/core/language/en-GB/Misc.multids index 6d91b8d53..d7a09a048 100644 --- a/core/language/en-GB/Misc.multids +++ b/core/language/en-GB/Misc.multids @@ -31,4 +31,5 @@ TagManager/Count/Heading: Count TagManager/Icon/Heading: Icon TagManager/Info/Heading: Info TagManager/Tag/Heading: Tag +Tiddler/DateFormat: DDth MMM YYYY at hh12:mmam UnsavedChangesWarning: You have unsaved changes in TiddlyWiki diff --git a/core/ui/ViewTemplate/subtitle.tid b/core/ui/ViewTemplate/subtitle.tid index f96c80fbd..1924a9d52 100644 --- a/core/ui/ViewTemplate/subtitle.tid +++ b/core/ui/ViewTemplate/subtitle.tid @@ -5,6 +5,6 @@ tags: $:/tags/ViewTemplate
<$link to={{!!modifier}}> <$view field="modifier"/> - <$view field="modified" format="relativedate"/> + <$view field="modified" format="date" template={{$:/language/Tiddler/DateFormat}}/>