On Saturday, November 9, 2019 at 5:45:41 PM UTC+1, Jesse Racine wrote:
 ...

> Let's say that you set a task due on November 9th, 2019, and set it to 
> weekly. That task tiddler should then be due every Saturday, for example.
>

Every Saturday will be much easier then based on real dates. eg: TW already 
knows something like "startup actions". 

So it would be easy to check if a TW is opened on eg: Wednesday and create 
an actions that writes a "list-actions-due-to-saturday" tiddler into the 
$:/DefaultTiddlers  tiddler. 

The list-actions... tiddler could contain a list like 

<<list-links "[all[tiddlers]due[Saturday]]">>

The action tiddler would look similar to: 

\import [[$:/core/ui/PageMacros]] 
[all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]

<$set name=test value=<<now DDD>>>
<$reveal type="match" default=<<test>> text="Sunday">
<$action-setfield $tiddler="hugo" $value="it's Sunday"/>
</$reveal>
</$set>


BUT the above code creates a JS error with the latest TW version. ... see: 
Github 
issue <https://github.com/Jermolene/TiddlyWiki5/issues/4370>. 

So depending on what you really need, there may be existing solutions 
already. 

more to come ... maybe ;)

-mario


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/6212c406-c1db-431d-b7d8-e9d3dde41a0d%40googlegroups.com.

Reply via email to