I am away from my computer but my advice is always store dates in the tiddlywiki date serial number format and use the format to display as desired. Plugins and more can usualy use tiddlywiki dates not bespoke date formats.
I use the date picker plugin.
If as in the past you now have a set of dates you need bulk reformatting ask for help in the forum.
Regards
Tony
...my advice is always store dates in the tiddlywiki date serial number format and use the format to display as desired. Plugins and more can usualy use tiddlywiki dates not bespoke date formats.>>> I am sorry, I don't really understand, what I can do with this information...
<$button>
<$action-setfield $field="due" $value="18.01.01"/>
set: due => 18.01.01
</$button>
<$button>
<$action-setfield $field="due"/>
delete: due
</$button>
''due'': {{!!due}}
[UTC]YYYY0MM0DD0hh0mm0ssXXX option) to save your dates. Then use <$view format=...> to display your dates however you want. If you store your dates in native TW5 format you will find more code and plugins that can use that format. I sympathize with wanting to use dates like 01.20.2018, but there's not a lot of good tools for splitting text. The various filters for date functions built into TW5 expect dates in the native TW5 format.<$view format=DD-MM-YY> into that command, but it didn't change anything.
I don't want a plugin for that. And I don't want to change the date, when I edited the tiddler (or did I misunderstood something?)
The all the plugins can handle these dates, including Evans formula plugin with a little conversion.
Many date related plugins use the tiddlywiki date.
One way to think of it is if a fields value is not simple text, you need something to help you. Dates are an example, if I add 1 to a day of the month it could be a new month even a new year.
Fortunately all the tools exist to display a twdate anyway you want.
I plan to publish a plugin for easy date field use but have some travel that may delay me.
If I can share a component that helps I will.
Tony
<$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}} Maybe this code helps:
<$view field="sortable-date" format="date" template="DD. MMM YY" /> 20180121 \define teBigSaveButton(class:"te-third")
<$vars tv-config-toolbar-icons="yes">
@@.te-btn-big.$class$ {{$:/core/ui/Buttons/save-wiki}}@@
</$vars>
\end
\define teBigNewTaskButton(class:"te-first")
<$wikify name="tt" text=<<telang New-ToDo-Item>>><$button tooltip=<<tt>> message="tm-new-tiddler" param="ToDo Item" class="te-btn-big te-create $class$">{{$:/core/images/new-button}}</$button></$wikify>
\end
<<teBigNewTaskButton>>
!! <<telang "This-week">>
<$set name="listfilter" value="""[all[]tag[ToDo]][all[]tag[ToDoNow]] +[days:todo-deadline[700]sort[todo-deadline]]""">
<ul class="te-list">
<$list filter=<<listfilter>> emptyMessage="<li class='todo-empty'><<telang 'Relax-Nothing-to-do'>></li>">
<<todonowShowListItem>>
</$list>
</ul>
</$set>In another experiment I managed successfully to show me tasks which are today or on past days with a red marker „late“ with this:
<ul>
<$list filter="[all[]tag[ToDo]][all[]tag[ToDoNow]] +[days:todo-deadline[700]sort[todo-deadline]]">
<li>
<$link><$view field="title"/></$link>
<$list filter="[<currentTiddler>days:todo-deadline[+60]]"> @@color:red;^^late^^@@</$list>
</li>
</$list>
</ul>How could I integrate this „late marker“ in the first mentioned solution?
And 2. question:
In which tiddler should I write my wanted view format for the field "todo-deadline"?
So that the deadline-dates which are shown in the ToDo-List in ToDoNow are shown like I want?
Best regards, Surya