mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-17 09:49:44 +00:00
b2fd3366e3
These updates had been staged so that I could still perform updates of tiddlywiki.com for the previous release
19 lines
645 B
Plaintext
19 lines
645 B
Plaintext
tags: [[Operator Examples]] [[days Operator]]
|
|
title: days Operator (Examples)
|
|
type: text/vnd.tiddlywiki
|
|
|
|
<<.operator-example 1 "[days[-14]]" "tiddlers modified within the last 14 days">>
|
|
<<.operator-example 2 "[!days:created[-800]]" "tiddlers created more than 800 days ago">>
|
|
The filter can be used to highlight new items in a list. For example:
|
|
<$macrocall
|
|
$name="wikitext-example-without-html" src=
|
|
"""
|
|
<ul>
|
|
<$list filter="[tag[ReleaseNotes]!<currentTiddler>!sort[modified]]">
|
|
<li>
|
|
<$link><$view field="title"/></$link><$list filter="[<currentTiddler>days[-120]]"> @@color:red;^^new^^@@</$list>
|
|
</li>
|
|
</$list>
|
|
</ul>
|
|
"""/>
|