1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

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.
This commit is contained in:
Hong-Yi Dai 2015-04-09 11:10:09 +08:00
parent 13a5e8f31c
commit 279ae2af79

View File

@ -16,7 +16,7 @@ type: text/vnd.tiddlywiki
<$list filter="[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]">
<div class="tc-menu-list-item">
<$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$]]">
<div class="tc-menu-list-subitem">
<$link to={{!!title}}>
<<timeline-title>>