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

Enhancement: use default defer/due date set in preferences #34

Open
ksalzke opened this issue May 29, 2022 · 0 comments
Open

Enhancement: use default defer/due date set in preferences #34

ksalzke opened this issue May 29, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request user request

Comments

@ksalzke
Copy link
Owner

ksalzke commented May 29, 2022

From Kennon Bickhart (via Slack):

Is there a way to use my default defer / due date that I set in OF preferences alongside the templated defer / due dates that get set?

Kennon's modifications:

In Resources/templateLibrary.js:
Line 257: const dueString = task.note.match(/\$DUE=(.*?)$/m)[1] + ' ' + settings.objectForKey("DefaultDueTime")
Line 264: const deferString = task.note.match(/\$DEFER=(.*?)$/m)[1] + ' ' + settings.objectForKey("DefaultStartTime")

I suspect that will mean that you can’t set a due time specifically perhaps, will need to play around with it when I get a change then I’ll update the script

@ksalzke ksalzke added enhancement New feature or request user request labels May 29, 2022
@ksalzke ksalzke self-assigned this May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user request
Projects
None yet
Development

No branches or pull requests

1 participant