Automatically set [Month, Year] tag for new tiddlers?

105 views
Skip to first unread message

loga...@gmail.com

unread,
Aug 7, 2020, 3:06:42 PM8/7/20
to TiddlyWiki
Title says it all. Not quite sure how to input the date format.

TW Tones

unread,
Aug 7, 2020, 7:44:41 PM8/7/20
to TiddlyWiki
I can give you a full answer later but I question the use of tags this way.

If you store a date in a field you can always find the month etc from the date.

The now macro is often used to generate dates and the view widget to format dates.

Pickaday plugin helps selecting.

Later I will show how to use edit text widget to select dates

Tones

TW Tones

unread,
Aug 7, 2020, 9:37:53 PM8/7/20
to TiddlyWiki
The edit-date widget can be found here, you also need the moment plugin http://kixam.github.io/TW5-datePicker/

Try this on a wiki (needs no plugins)
:<$edit-text field=date type=date tag="input"/> {{!!date}}
:<$edit-text field=datetime-local type="datetime-local" tag="input"/> {{!!datetime-local}} datetime local?

The main issue is to does not return the standard TiddlyWki serial number date. However this can be addressed.

Let us know if you ar elooking for more

Tones

loga...@gmail.com

unread,
Aug 7, 2020, 10:58:45 PM8/7/20
to TiddlyWiki
Much appreciated, Tones. You're a savior.
Reply all
Reply to author
Forward
0 new messages