chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.48k stars 135 forks source link

[FEATURE REQUEST] Allow VDATE format syntax variable to be written in multiple formats #618

Closed rpmcginty closed 8 months ago

rpmcginty commented 8 months ago

Is your feature request related to a problem? Please describe.

When creating a capture action, I require a natural language date variable that I want to then use in multiple places in the file path. While I am able to reuse the same variable multiple times, I am unable to reformat the date variable.

Example

Capture to File Name: Journal/Logs/{{VDATE:Date,YYYY}}/{{VDATE:Date,MM-MMMM}}/{{VDATE:Date,YYYY-MM-DD}}.md

Expected: Journal/Logs/2023/12 - December/2023-12-01.md Actual: Journal/Logs/2023/2023/2023

Describe the solution you'd like

Being able to reformat the date variable would be very useful. The expected above is how I would like it to behave.

Additional Context

QuickAdd Version: 1.6.1 Obsidian Version: v1.4.16

rpmcginty commented 8 months ago

A workaround/solution is to specify it like so: Journal/Logs/{{VDATE:Date,YYYY/MM-MMMM/YYYY-MM-DD}}.md