liamcain / obsidian-periodic-notes

Create/manage your daily, weekly, and monthly notes in Obsidian
MIT License
987 stars 67 forks source link

Change how the quarter period is defined #212

Open rotkiv1205 opened 8 months ago

rotkiv1205 commented 8 months ago

Hello!

Love the plugin and thought I'd shoot a request I've had.

I would benefit from being able to change how the quarter period is defined.

My use case is that I use periodic notes as a diary-of-sorts in connection to my studies at uni. There we have 4 study periods per year which don't align with normal quarters. So like, today is the start of study period 4, for example.

Is it currently possible to change this or is it a feature that could be added?

arnoesterhuizen commented 7 months ago

I do something similar to align calendar years with financial years for our company, e.g. 2024-Q1 is FY2024-Q4, and 2024-Q2 is FY2025-Q1. The financial year is the calendar year plus 9 months, so I add a simple calculation in my quarter template

- {{quarter:YYYY-[Q]Q}}
- FY{{quarter+9M:YYYY-[Q]Q}}
rotkiv1205 commented 7 months ago

That's nice and something along the lines of what I'm searching for! If I understood you correctl, you use those calculations in the body of a template note? Is it possible to add something similar to note title in the settings of the plugin? image Or is there another way to make it so that the filename has this calculation?

arnoesterhuizen commented 7 months ago

Yep, those are used in the template, but I haven't thought of trying it in the filenames. Try adding it an see if it works?