Hi,
Maybe this code helps:
<$select tiddler="Form Data" field="date-day">
<$list filter="01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31" variable="number">
<option value=<<number>>><<number>>.</option>
</$list>
</$select>
<$select tiddler="Form Data" field="date-month">
<$list filter="01 02 03 04 05 06 07 08 09 10 11 12" variable="number">
<option value=<<number>>><<number>>.</option>
</$list>
</$select> <$edit-text tiddler="Form Data" field="date-year" size="6"/>
<$button>
<$wikify name="sortableDate" text="{{Form Data!!date-year}}{{Form
Data!!date-month}}{{Form Data!!date-day}}">
<$action-setfield $tiddler="My Tiddler" sortable-date=<<sortableDate>>/>
Enter Date
</$wikify>
<$wikify name="displayDate" text="{{Form Data!!date-day}}.{{Form
Data!!date-month}}.{{Form Data!!date-year}}">
<$action-setfield $tiddler="My Tiddler" display-date=<<displayDate>>/>
</$wikify>
</$button>
Sortable date: {{My Tiddler!!sortable-date}}
Date for display: {{My Tiddler!!display-date}}
I have used something like this in the past. Two issues are hard to avoid:
1.) You need to split up the date into three components.
2.) You need an extra button to save the date.
Nowadays, I prefer the date picker plugin, though (like the others in this
thread).
Cheers,
Stef
On Thursday, January 18, 2018 at 11:06:24 PM UTC+1, Surya wrote:
>
>
> Is it possible to automatic edit the date-field, when I edited the
> due-field?
> For example, when I edit the due-field of this tiddler to 01.02.18 that
> then the date-field is automatically edited to 18.02.01?
> I mean to tell the automatic "please edit the date-field (date-format
> DD-MM-YY) to the same date as in the due-field (date-format YY-MM-DD), but
> in the format DD-MM-YY".
>
>
--
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/07f11236-c578-433b-8e68-842945b72163%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.