Folks, I will just add I have simplified journals by adding a Journal-date field at creation, with a data picker this allows a Journal to be forward or backdated, I use the journal-date field for sorting rather than created or the tiddlers title. Thus you could if you wish create a toolbar button for "new journal tiddler for today" which will create a tiddler with the current tiddlers journal-date thus you can find all tiddlers with that journal date leaving the naming of such tiddlers to be anything except an existing tiddler. If you want to find the main journal tiddler search for the journal-date and tagged journal.
My previous macros work but do not honor the Journal tags and template (Attached). I will create some updated ones shortly. Tones On Monday, 19 April 2021 at 13:39:17 UTC+10 Scott Kingery wrote: > One thing you might want to research is Interstitial Journaling. We had > some discussions here a while back and a great plugin was created by Tony K > called Daily Notes. Here's the discussion about it: > https://groups.google.com/g/tiddlywiki/c/YOawrinusJM/m/5e--agOXBAAJ > and the plugin > GitHub - akhater/Daily-Notes-for-TW5: Interstitial Journaling plugin for > TiddilyWiki <https://github.com/akhater/Daily-Notes-for-TW5> > > Might not be exactly what you are looking for but it changed how I use > Tiddlywiki so I had to mention it :) > > Scott > > > On Sunday, April 18, 2021 at 1:42:35 PM UTC-7 [email protected] wrote: > >> You can actually create a tiddler and have the Created field be the >> wished date... >> I will try your code, thanks! >> >> Ray >> >> Op zo 18 apr. 2021 om 22:24 schreef PMario <[email protected]>: >> >>> On Saturday, April 17, 2021 at 1:01:06 AM UTC+2 [email protected] wrote: >>> ... >>> >>>> I use this filter below to have overview of a day, i put the date in >>>> manually, must be possible to do that better but ok it works for me: >>>> >>> >>> If you put this into a tiddler, it will give you a list of tiddlers, >>> that have been created the same Year / Month / Day / hour ... as this >>> tiddler. >>> >>> \define sameYear() YYYY >>> \define sameMonth() YYYY0MM >>> \define sameDay() YYYY0MM0DD >>> \define sameHour() YYYY0MM0DD0hh >>> >>> <$set name=thatDate filter="[<currentTiddler>get[created]format:date< >>> sameDay>addprefix[^]]"> >>> <<list-links filter:"[!is[system]regexp:created<thatDate>sort[created]]" >>> emptyMessage:"n/a">> >>> </$set> >>> >>> <$set name=thatDate filter="[<currentTiddler>get[created]format:date< >>> sameYear>addprefix[^]]"> >>> <<list-links filter:"[!is[system]regexp:created<thatDate>sort[created]]" >>> emptyMessage:"n/a">> >>> </$set> >>> >>> The problem with such a filter function in a Journal tiddler is, that: >>> "What if I did create the journal tiddler 1 day late". ... So I want to >>> date it back, which isn't possible with the created field. ... >>> >>> So your approach with manually setting the value is probably the right >>> one, but it may be simplified. eg: >>> >>> \define thatDate() ^20210418 >>> >>> <<list-links filter:"[!is[system]regexp:created<thatDate>sort[created]]" >>> emptyMessage:"n/a">> >>> >>> The ^ char is needed, because it means "at the start of the line" ... eg >>> if you use 2021 without the ^ it could find a tiddler with the time 20:21 >>> >>> have fun! >>> mario >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "TiddlyWiki" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/tiddlywiki/KyNX1E6Hjn4/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tiddlywiki/c8c660c1-ed72-4247-9486-3150de2a8f4fn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/tiddlywiki/c8c660c1-ed72-4247-9486-3150de2a8f4fn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/23aeb5e6-32f4-446e-b54e-8d57f225d98dn%40googlegroups.com.
journal-date.json
Description: application/json

