[days[-14]]
[!days:created[-800]]
The filter can be used to highlight new items in a list. For example:
<ul>
<$list filter="[tag[ReleaseNotes]!<currentTiddler>!sort[modified]]">
<li>
<$link><$view field="title"/></$link>
<$list filter="[<currentTiddler>days[-180]]"> @@color:red;^^new^^@@</$list>
<$list filter="[<currentTiddler>days[-500]!days[-180]]"> @@color:black;^^recent^^@@</$list>
</li>
</$list>
</ul>
That renders as:
- Release 5.3.6 new
- Release 5.3.7 new
- Release 5.3.5 new
- Release 5.3.4 new
- Release 5.3.3 recent
- Release 5.3.2 recent
- Release 5.3.1 recent
- Release 5.3.0
- Release 5.2.7
- Release 5.2.6
- Release 5.2.5
- Release 5.2.4
- Release 5.2.3
- Release 5.2.2
- Release 5.2.1
- Release 5.2.0
- Release 5.1.23
- Release 5.1.22
- Release 5.1.21
- Release 5.1.20
- Release 5.1.19
- Release 5.1.18
- Release 5.1.17
- Release 5.1.16
- Release 5.1.15
- Release 5.1.14
- Release 5.1.13
- Release 5.1.12
- Release 5.1.11
- Release 5.1.10
- Release 5.1.9
- Release 5.1.8
- Release 5.1.3
- Release 5.1.5
- Release 5.1.6
- Release 5.1.7
- Release 5.1.4
- Release 5.1.2
- Release 5.1.1
- Release 5.1.0