Well, I was playing with the Set Widget Tester for attribute precedence <https://groups.google.com/d/msg/tiddlywiki/lvLfDiqNxEE/wnEaHsvhCAAJ> tiddler that I posted a few days ago, and realized that in the *$set* widget, the *field* attribute takes precedence over the *index* attribute, so perhaps it would be too difficult to add in the *index* parameter to the *date Macro*, which really was an oversight as data tiddlers are such an integral part of TiddlyWiki.
And so it was easy, with just a minor tweak to 2 lines of the code! Took the opportunity to brush up a little, with the following changes: 1. Corrected mistakes in the Examples section, Macro column: removed redundant sep parameter. Changed *date* to *invalid-date* 2. Changed some single quote delimiters to triple 3. Added fields for version number & issues & release-notes 4. Added missing *empty-message* field to "set to default" macro 5. Added *code-black* style for <code> 6. Added *index* parameter & its documentation So here it is - version 1.02 attached below : The date macro takes a string in a Common Date Format and returns it in a specified Date Format. Regards On Wednesday, April 3, 2019 at 11:07:43 AM UTC+7, Mohammad wrote: > > Hi S.S, > Great job! well documented. > Good flexibility to adopt many formats users may like. > > Cheers > Mohammad > > > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@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/59f1b125-c646-4ab3-8823-075afdb955db%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
date Macro ver.1.02.tid
Description: Binary data