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

Support date format override #383

Open
viktaur opened this issue Dec 9, 2024 · 1 comment
Open

Support date format override #383

viktaur opened this issue Dec 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@viktaur
Copy link

viktaur commented Dec 9, 2024

Hi, my current daily notes are organised inside a journal directory in the format YYYY/MM/DD (i.e. using recursive directories to organise journal entries by year and month, where the actual note filename is just the day of the month).

image

However, this seems to confuse the current calendar plugin, as it is currently displaying notes from July in the month of December, for instance.

If this is the root of the issue, would it be possible to support date format customisation or even directly read it from the daily notes settings to ensure compatibility?

@viktaur viktaur added the enhancement New feature or request label Dec 9, 2024
@viktaur
Copy link
Author

viktaur commented Dec 19, 2024

The key seems to be in node_modules/obsidian-daily-notes-interface/index.d.ts, line 15

export const DEFAULT_DAILY_NOTE_FORMAT = "YYYY-MM-DD";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant