A little more;
You could then add the suffix 000000000 and you would have a tiddlywiki date serial number, and view would work on it (but it does on shorter dates as well). However we have seen cases where it’s best to make it 12 noon to help with getting the date + or - 12 Hours so use 120000000 to assist with cross time zones.
Look at the following, and try on the prerelease
<$edit-text tiddler="$:/temp/birthday" tag="input" type=date/>
<$button tooltip="save selected date to bithday-date">
<$action-setfield $field="birthday-date" $value={{{ [{$:/temp/birthday}!is[blank]search-replace:g[-],[]addsuffix[120000000]] }}}/>
<$action-deletetiddler $tiddler="$:/temp/birthday"/>
Save Birthday
</$button>
The above allows you to type in only valid dates, or click to select from a date picker. It then converts it to the tiddlywiki serial number format and saves it in a field.
- Use the view widget to display in any format.
- Should respond to your localisation with mm/dd or dd/mm (works for me)