mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-01 14:02:47 +00:00
![Jermolene](/assets/img/avatar_default.png)
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>
|
|
"""/>
|