From 279ae2af79e214876ff4ed39879d920601af5faa Mon Sep 17 00:00:00 2001 From: Hong-Yi Dai Date: Thu, 9 Apr 2015 11:10:09 +0800 Subject: [PATCH] Add the missing operator to `sameday` Otherwise, the `sameday` macro will default to `modified`. In case the user set `dateField:"created"` when calling `timeline`, the result will be inconsitent. --- core/wiki/macros/timeline.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wiki/macros/timeline.tid b/core/wiki/macros/timeline.tid index 1d5dfe9a9..295d46b35 100644 --- a/core/wiki/macros/timeline.tid +++ b/core/wiki/macros/timeline.tid @@ -16,7 +16,7 @@ type: text/vnd.tiddlywiki <$list filter="[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]">
<$view field="$dateField$" format="date" template="$format$"/> -<$list filter="[sameday{!!$dateField$}!is[system]$subfilter$!sort[$dateField$]]"> +<$list filter="[sameday:$dateField${!!$dateField$}!is[system]$subfilter$!sort[$dateField$]]">
<$link to={{!!title}}> <>