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 · 4 comments
Open

Support date format override #383

viktaur opened this issue Dec 9, 2024 · 4 comments
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";

@stellophiliac
Copy link

i've got the same issue, would be nice if this could be fixed [:

@zwlhome
Copy link

zwlhome commented Feb 6, 2025

可以使用插件periodic-notes进行配置

@stellophiliac
Copy link

可以使用插件periodic-notes进行配置

periodic-notes说每个daily note的文件名需要是独特的。用YYYY/MM/DD来起名的话,不是独特的,所以用不了periodic-notes

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

3 participants