Wouldn't it be easier to fix all the titles?
\define fixmonth() $(year)$0$(rest)$
\define fixday() $(year)$$(month)$0$(rest)$
<$list filter="[regexp[^\d\d\d\d-\d\d?-\d\d?\b]] +[sort[]]"/>
--
<$list filter="[regexp[^\d\d\d\d-\d-]]" variable="theWrongOne">
<$list filter="[title<theWrongOne>splitbefore[-]]" variable="year">
<$list filter="[title<theWrongOne>removeprefix<year>]" variable="rest">
<$button>
<$action-setfield $tiddler=<<theWrongOne>> $field="title" $value=<<fixmonth>>/>
<$action-deletetiddler $tiddler=<<theWrongOne>>/>
Fix month for <<theWrongOne>>
</$button>
</$list>
</$list>
</$list>
<$list filter="[regexp[^\d\d\d\d-\d\d-\d\b]]" variable="theWrongOne">
<$list filter="[title<theWrongOne>splitbefore[-]]" variable="year">
<$list filter="[title<theWrongOne>removeprefix<year>splitbefore[-]]" variable="month">
<$list filter="[title<theWrongOne>removeprefix<year>removeprefix<month>]" variable="rest">
<$button>
<$action-setfield $tiddler=<<theWrongOne>> $field="title" $value=<<fixday>>/>
<$action-deletetiddler $tiddler=<<theWrongOne>>/>
Fix day for <<theWrongOne>>
</$button>
</$list>
</$list>
</$list>
</$list>
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/05079cdd-da24-4250-bb7e-8e2fdd70040a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.