Hi, I will see if I can find a way to give you the full solution, but personally to achieve what you want I would look at the existing recent tiddlers tab which groups tiddlers by day and see if I could clone and modify it to achieve what you are after. However with Eric's powerful timer tools http://tiddlytools.com/timer.html it may be simpler to use his calendar approach.
However for any date you can obtain a week number https://tiddlywiki.com/#DateFormat 0WW eg <$view field=journal-date format=date template="0WW"/> <<now "0WW">> In the pre-release there may be a way to sort by the "derived week number" using sortsub <https://tiddlywiki.com/prerelease/#sortsub%20Operator> Other approaches may be to use the range operator and days operator asking for days ago eg -7 to 0, -14 - 8 etc, you will need a macro to pass numbers into the range and days operator as $n$. Of course something to consider is grouping by week is still only in reverse chronological order, so if you display a heading every time the week number changes you will also get what you are after. I will return if I find an easy to share solution. Tones On Wednesday, 11 November 2020 00:06:10 UTC+11, Sapphireslinger wrote: > > @Tones > > *I would like to sort my tiddlers tagged [[Post Queue]] by week*, so that > I can see all the articles I've written in the past week and only choose > the best one to blog. > > I successfully installed your journal-date.json from this thread: > https://groups.google.com/g/tiddlywiki/c/H-teh7Cv0kg/m/G6VT_k1wBgAJ?pli=1 > (I assume it is the same you put in this thread here.) But I never did > understand how to use it to sort by month or week. > > How do I compile a list like the one below using the journal-date field > that each of them has? > > 2020 week 44 > > (post in queue to be blogged) > (post in queue to be blogged) > (post in queue to be blogged) > > 2020 week 45 > > (post in queue to be blogged) > (post in queue to be blogged) > (post in queue to be blogged) > > On Sunday, November 8, 2020 at 4:23:22 AM UTC+8 Charlie Veniot wrote: > >> G'day Stuart, >> >> I throw this idea in here mostly for the $hit$ and the giggle$ >> interesting code. >> >> I've been thinking, since reading your post ... >> >> I loathe typing anything more than once, however small the effort, when >> it is something that can be otherwise transcluded/derived. >> >> In my own TiddlyWiki journal entries related to ADHD Meds >> <https://intertwingularityslicendice.neocities.org/CJ_AdhdSliceAndDice.html#An%20ADHD%20medication%20journey>, >> >> the created tiddlers have names matching "YYYY-0MM-0DD" >> >> - If I wanted to add time, I'd follow up the date with a space and >> the time >> - If I wanted to adorn with anything else: add a space, then add that >> something else >> >> My journal (an "aggregation" tiddler) hauls in (transcludes) all journal >> tiddlers into one nice big consolidated journal view and takes care of >> formatting everything in a way that makes the whole guacamole pretty to me. >> >> If I wanted to instead show all the journal entries with "year and week" >> of each journal instead of dates, I would format those dates with this >> fancy gem: >> >> <$view tiddler={{{ [all[current]split[ >> ]first[]split[-]join[]addsuffix[190213631]] }}} field="title" format="date" >> template="YYYY week WW"/> >> >> Check out my "playtime experimentation" tiddler >> <https://intertwingularityslicendice.neocities.org/CJ_AdhdSliceAndDice.html#An%20ADHD%20medication%20journey%20PLAYTIME> >> >> (screenshot further below for convenience). >> >> Cheers ! >> >> [image: Screenshot 2020-11-07 at 4.00.59 PM.png] >> >> >> >> On Friday, November 6, 2020 at 8:36:07 AM UTC-4, [email protected] >> wrote: >>> >>> I am in the process of converting 18 months of previous journal log >>> notes into a tiddlywiki. I am interested in using the "new journal here" >>> functionality as I like the way it can automatically tag the parent >>> tiddler. However, one of the problems I have is I need to summaries my log >>> notes on a weekly basis. I have set my default new journal title to: >>> >>> *YYYY: Week 0WW (YY/0MM/0DD at 0hh:0mm:0ss) - <<currentTiddler>>*: >>> >>> I am now looking for a way to sort these journal entries into an >>> automatic list based on year and week number. As I will be adding historic >>> entries in the first instance I am unsure a method using creation date >>> would be appropriate. >>> >>> Anyone have any ideas? >>> >> -- 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/92697918-696d-467d-86ee-c4aa855edb3bo%40googlegroups.com.

