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

First Week Of Year file-format - %Y-%V - shows correct week no (1), but wrong year (2024) for 2.1.2025 #451

Open
triplem opened this issue Jan 2, 2025 · 0 comments

Comments

@triplem
Copy link

triplem commented Jan 2, 2025

Describe the bug
If a new file is created in the first week of a new year (well, at least for 2025), the file-fomat shows the correct week-no, which is no. 1, but still uses the "old" year, meaning the year on the beginning of the week.

To Reproduce
Create a weekly journal with the following settings:

(setq org-journal-file-type 'weekly)
(setq org-journal-start-on-weekday calendar-week-start-day)
(setq org-journal-file-format "%Y-%V.org")

This will create a new file with the name 2024-01.org on 2.1.2025.

Expected behavior
The first week of the year should be in the correct year, meaning 2025 in this case.

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

No branches or pull requests

1 participant