You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the daily_notesdate_format option only accepts a lua date and time string https://www.lua.org/pil/22.1.html, which doesn't allow all the formatting options that Obsidian does for daily notes, like single digit days of the month (3 instead of 03) and ordinals (3rd), making creating daily notes for my vault impractical with Obsidian.nvim.
A potential solution for this is if the user could define a function which accepts a date argument indicating the date they want to create the daily note for, and the function returns a string. When the user wants to create a daily note like with the :ObsidainToday command, the name of the daily note is the string (without the .md extension, Obsidian.nvim should add that itself). A function call with date could be declared under date_format.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
🚀 The feature, motivation and pitch
Right now the
daily_notes
date_format
option only accepts a lua date and time string https://www.lua.org/pil/22.1.html, which doesn't allow all the formatting options that Obsidian does for daily notes, like single digit days of the month (3 instead of 03) and ordinals (3rd), making creating daily notes for my vault impractical with Obsidian.nvim.A potential solution for this is if the user could define a function which accepts a
date
argument indicating the date they want to create the daily note for, and the function returns a string. When the user wants to create a daily note like with the:ObsidainToday
command, the name of the daily note is the string (without the.md
extension, Obsidian.nvim should add that itself). A function call withdate
could be declared underdate_format
.Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: