Filter date in listing

Hi,
Does anyone know why the ‘Created date’ 00010101000000000 (01.01.0001) in tiddlers cannot be filtered in the list below. While other dates such as 1000010100000000 or 16000229000000000 does work.

<$vars day={{{[<now 0MM0DD>]}}}><$list filter="[all[tiddlers]![xyz]!created[00010101000000000]!tag[Quote]!tag[*Function]!is[system]!sort[created]]! :filter[{!!created}else[]format:date[0MM0DD]match<day>]" emptyMessage="...">

I’m not exactly sure what you are trying to do and I didn’t try your filter with actual tiddlers. It might help if you wrote out in words the logic you are trying to produce.

I also see several filter syntax problems:

  • ![xyz] needs some kind of filter operator before the [xyz] operand. Maybe !match[xyz]
  • There is an extra ! following the end of the first filter run: ...!sort[created]]!
  • In the :filter[...] filter run, the initial reference to {!!created} will ALWAYS have a value. If the created field doesn’t exist, it will produce a blank value. Thus, the else[] that follows it will never be triggered. Perhaps you mean: :filter[{!!created}format:date[0MM0DD]match<day>]???

-e

Hi Erik, thanks for the reply.
I have to admit, I don’t know much about programming and I’ve just scraped together the programming rules shown on this forum.
The wiki is a “what happened today in history” version.
Each tiddler has a footer that shows all other events on that day, regardless of the year.
The displayed listing filters out the tiddlers I don’t want to see in the footer.
And you know what, it works fine. Except when I use a tiddler with the created date 01.01.0001. As mentioned, all other dates work fine.
I know I can use a tag for tiddlers with that date, but I really want to use this date.
I hope it’s a bit clearer now what I mean.