Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(snippets): add TODAY_OF_FILETREE to parse *nested* journal files #13

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

pysan3
Copy link
Owner

@pysan3 pysan3 commented Aug 15, 2023

TODAY_OF_FILENAME will insert the date by parsing the filename.
OF_FILENAME is useful when journal.strategy == "flat".
So, if the filename is 2023-01-01.norg, YESTERDAY_OF_FILENAME => 2022-12-31.

Similarly, TODAY_OF_FILETREE is useful when journal.strategy == "nested".
Ex: if the filename is .../2023/01/01.norg, YESTERDAY_OF_FILETREE => 2022-12-31.

@pysan3 pysan3 merged commit 09609b5 into main Aug 15, 2023
@pysan3 pysan3 deleted the add-of-filetree-snippets branch August 15, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant