Hi Mario,
I have this Agenda list of tiddlers with "due" fields that have dates in
them:
<ul>
<$list filter="[has[due]days:due[60]days:due[-60]!tag[done]!sort[due]]">
<li>
<$link><$view field="title"/></$link> <<calc !!due -
by:mynow!!mynow>> days
<$list filter="[<currentTiddler>days:due[15]!days:due[2]]">
@@color:beige;^^upcoming^^@@</$list>
<$list filter="[<currentTiddler>days:due[1]days:due[-1]]">
@@color:red;^^today^^@@</$list>
<$list filter="[<currentTiddler>days:due[-7]!days:due[-2]]">
@@color:black;^^recent^^@@</$list>
<$list filter="[<currentTiddler>days:due[-60]!days:due[-30]]">
@@color:yellow;^^over a month^^@@</$list>
</li>
</$list>
</ul>
It's not actually super accurate outside of the current month, but that's
another problem to solve in the future.
My basic need is when its a new day I have to tap this button to make sure
that the date here (mynow!!mynow) is actually todays date.
\define mynow()
<$button>
<$action-setfield mynow=<<now YYYY0MM0DD>>/>set today
</$button>
\end
<<mynow>>
My goal is for the date to be set automatically when the TW first opens, or
when I open the tiddler with the Agenda list in it.
On Friday, November 30, 2018 at 4:46:25 AM UTC-7, PMario wrote:
>
> Hi Dave,
>
> For me it would be easier, if you describe, what you want to achieve. ...
> This would give me the possibility to understand the needed workflow.
>
> -m
>
--
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/2b86a0db-67df-47c3-b099-de2c6daad072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.