List by year/month?

I want to build a kind of Archive list similar to how they do in blogs. It would take the create date then the list would look like this:

2021

  • 02
    – tiddler title 1
    – tiddler title 2
  • 01
    – tiddler title 1
    – tiddler title 2

2020

  • 12
    – tiddler title 1
    – tiddler title 2
  • 11
    – tiddler title 1
    – tiddler title 2

The titles would be links to the tiddlers.

Is there a way to parse the Created Date like that and make it work?

Thanks

1 Like

Here is a partial answer

  • Sort by date
  • Extract date parts
{{{ [{!!created}split[]first[4]join[]] }}}
{{{ [{!!created}split[]nth[5]] [{!!created}split[]nth[6]] +[join[]] }}}
{{{ [{!!created}split[]nth[7]] [{!!created}split[]nth[8]] +[join[]] }}}

The main trick is to suppress the repeat date values