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

Daily note template using wrong date if daily note is pre-created #7

Open
ceciltech opened this issue Sep 15, 2022 · 1 comment
Open
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ceciltech
Copy link

ceciltech commented Sep 15, 2022

Your daily note template uses the file creation date to filter tasks and other queries. It is common to create a daily note in advance of the actual day, for planning purposes, in which case you put wrong date in your queries.

Example: today is 9/15 but I want to start planning my day for 9/20, if use the calendar to create a new daily note for 9/20 the creation date will be 2022-09-15 and the title will be 2022-09-20 the overdue tasks are for due before 9/15 using your current template when it should be due before 9/20. Since daily note titles are the correct date value use that property rather than calling Now()

For instance change the overdue task list to be:

not done
due before <% tp.file.title %>
path does not include System

PS love your vault, it gave me a great jumpstart.

@ceciltech ceciltech changed the title Overdue tasks don't work correctly if daily note pre-created Daily note template using wrong date if daily note is pre-created Sep 15, 2022
@cuken cuken added the bug Something isn't working label Nov 17, 2022
@cuken cuken self-assigned this Nov 17, 2022
@cuken cuken added this to the 0.0.2 milestone Nov 17, 2022
@cuken
Copy link
Owner

cuken commented Nov 17, 2022

Great suggestion! Added in 0.0.2

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

2 participants