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

Multiple use of DATE: variable #81

Open
dalibord opened this issue Dec 4, 2023 · 0 comments
Open

Multiple use of DATE: variable #81

dalibord opened this issue Dec 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dalibord
Copy link

dalibord commented Dec 4, 2023

Description
I try to use variable DATE in Image name pattern field for generating needed file path "_Journal/{{DATE:YYYY}}/{{DATE:YYYY-MM}}/{{fileName}}". The result is this "Journal/2023/{{DATE:YYYY-MM}}/2023-12-04". The second use of DATE variable is not correctly rendered

Environments:

  • OS: MacOS

To Reproduce
Steps to reproduce the behavior:

  1. In add-on settings fill Image name pattern with multiple DATE variable
  2. Try to paste any image in any note
  3. In pop-up you will see wrong name

Expected behavior
Every usage of any variable is correctly rendered in Imaga name pattern

@dalibord dalibord added the bug Something isn't working label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant