I have a TW5.html file with many tiddlers that start with dates - I did not 
use zeros for single digit months or dates, but now realize that I would 
like an order field for sorting.

Example tiddler's title: "2017-8-5 Group meeting"

I now would like to create a field for this tiddler called "order" with the 
value "20170805"

By adding leading zeros to single digit months and dates I will be able to 
sort[order] without November and February out of order

How do I accomplish this?

My attempts so far are to filter for all titles with prefix 2017-8-, then 
remove prefix 2017-8-, then addprefix 2017-08-, then create a matching 
field (not sure how), then do the same for month 07... and then the days... 
I don't know how to represent a character variable, and I'm sure there are 
much more elegant solutions...

Has anybody already dealt with this?

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/ef9a9384-3c8a-4ba7-861b-7c15efcedc6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to