roam-toolkit icon indicating copy to clipboard operation
roam-toolkit copied to clipboard

Display day of the week alongside the page title if it's a date

Open Stvad opened this issue 5 years ago • 3 comments

Stvad avatar Apr 04 '20 20:04 Stvad

I think I could do this relatively easily. To make sure im clear about what the goal is, you want to take a title like: May 28th, 2020 and make it Thursday May 28th, 2020 is that right?

I suppose we could make the option more like "custom formatting of date titles" and have a setting that allows you to provide a mask - if the title is a date we format it using the mask. Then you could turn it into any format you like.

ryanguill avatar May 29 '20 02:05 ryanguill

Yep, your understanding is correct and custom formatting sound great!
I actually now have a page for each day of the week, with corresponding days referenced to hack this 😛

Stvad avatar May 29 '20 02:05 Stvad

Ah, one more detail - I think this also should change HTML page title so you can see it in the browser as-well

Stvad avatar May 29 '20 16:05 Stvad