Does TW need some separate branch statements?

The reason for this is that I want to list the entries that have been updated since June 1, 2022. At first I thought it would be easy, but when I actually implemented it, I found that there is no easy way.

I’ve tried “.if” macros, “compare”, “days”, “reveal”…

Is there anyone kind enough to help me solve this specific problem first.

Next, I want to talk about as a novice, where am I troubled
.

All filtering steps are based on the input title of the previous step, making further selections on the input title.

But here, I need to decide whether the input title is finally selected based on whether a field meets the requirements.

Maybe this is a fake question just because I haven’t really mastered TW yet.

(PS: I am a Chinese user, and I use Google Translate to communicate with you. Please forgive me for any inappropriateness)

Try this:

<$list filter="[all[tiddlers]!is[system]!sort[modified]] :filter[<currentTiddler>get[modified]compare:date:gteq[20220601]]">
   <$link/><br>
</$list>

Notes:

  • [all[tiddlers]!is[system]!sort[modified]] gets the list of all non-system tiddlers, sorted by modification date (most recent first)
  • Then, :filter[<currentTiddler>get[modified]compare:date:gteq[20220601]] keeps only those tiddlers whose modified date is greater than or equal to 20220601.

enjoy,
-e

5 Likes

Great, this is what I want.
More valuable is that it taught me how to think.
Thank you boss.