Make date format configurable (including links like [[2021-04-05]]) #69
Replies: 14 comments 7 replies
-
From an implementation point of view it shouldn't be too much work, unless I am forgetting something. Just for clarity, if it was |
Beta Was this translation helpful? Give feedback.
-
I would imagine this as follows:
I think it may not be necessary to update existing completed tasks. It may work when completing new tasks, as one may have different needs in the future.
Thanks for clarifying this. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to also append customized text to an ordinary Markdown task like |
Beta Was this translation helpful? Give feedback.
-
I think it is out of the scope of this plugin to achieve that for regular task lists. It was a deliberate design decision to separate todos that you want to track from "regular checklists". If you complete a task from this plugin ( You can specify a hotkey in the config to toggle a task status between |
Beta Was this translation helpful? Give feedback.
-
I understand this. Thanks for the clarification.
Being able to use hotkeys to toggle task status is very convenient. |
Beta Was this translation helpful? Give feedback.
-
Great work and very much appreciated. Want to build on this discussion. I also agree supporting a date in brackets is valuable. Allows:
Next to that, while the emoticon looks very nice, it would be nice if that is optional. Just makes it easier to insert tasks with dates, especially on mobile devices with limited keyboards. And mostly, if not needed, it reduces textual dependencies for a dated task to be recognized. HOwever for recurring tasks, this makes sense as they are more complicated. |
Beta Was this translation helpful? Give feedback.
-
Just want to add more thoughts on how to query tasks based on completion date if the data format is customized. For the case of ✅ [[2021-04-09]], it may not be a problem, as the completion date is already included as the default completion date. For the case of ✅ 202104141210, the completion date and time are both included. Maybe one can even query tasks based on completion time with this date format. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to add to this convo. I have been following this plugin since it came out and I LOVE the idea of it and it works great... BUT the only thing holding me back is not being able to use the Daily Notes Page links [[yyyy-mm-dd]]. Everything in my vault revolved around my daily notes page links and this is how I currently do/tag tasks outside this plugin. If you are able to implement this ability, or maybe even just a setting where we can define the format we want to use, that would be amazing and I would surely then commit to using this plugin. Either way, awesome job and thanks for all your hard work! p.s. do you have a "buy me a coffee" type link for contributions? |
Beta Was this translation helpful? Give feedback.
-
Just want to add some thoughts on how to customize date and time format. In the plugin Reminder, one can set the "Date format" for all-day reminders and "Date and time format" for reminders at a specific time. Therefore, it would be great if the following can be set separately in the configuration pane:
This discussion can be found as follows: |
Beta Was this translation helpful? Give feedback.
-
Let's focus this discussion on different date formats. Supporting time in addition to dates would be a separate change. Tasks relies on the fact that all tasks are scheduled at |
Beta Was this translation helpful? Give feedback.
-
Just to note that in a duplicate request, I pasted in a list (most) of the steps required to implement this: |
Beta Was this translation helpful? Give feedback.
-
I've just landed on this discussion while doing some research for building my own plugin with more advanced task handling. Let me add my two cents. It seems to me that the primary use case for customized date strings would be to integrate with Daily Notes and Periodic Notes. Based on this assumption, I would suggest handling the initial implementation of this feature in the same way as those plugins: i.e. updating the format in the plugin's settings only affects future tasks, and anything that the user wants to port over from the old format will have to be changed manually. Since there is precedent for this implementation in two of the most popular plugins in the community, I think that it is a good starting place. It would give some support for custom date formats for those who want/need it while at the same time keeping the initial scope of the feature from growing too large. It could then be updated into a more robust system in the future if deemed appropriate. |
Beta Was this translation helpful? Give feedback.
-
Just to set expectations on this... Tasks is in the fortunate position of having contributions being made at a faster rate than I can keep up with them. I'm often pairing 2 or 3 times a week with other contributors. Always at least once a week. And so I'm rarely getting time to develop the things that I personally would use, and therefore wish to see implemented. (This isn't a thing that I would particularly use, either) Therefore, this is unlikely to be realistically implemented in the foreseeable future by anyone currently contributing to Tasks. I'm not adding the 'help wanted' label, as a "good-enough" implementation is such a large task that it would require a lot of my time to shepherd an implementation through. |
Beta Was this translation helpful? Give feedback.
-
I have created an issue from this, so that I can track it in the Roadmap. Keep up-voting here though... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, text like
✅ 2021-04-09
would be appended to the end of the task when it is marked as DONE. Is it possible to customize this? For instance, if✅ [[2021-04-09]]
is appended, then one can check in the Graph View what tasks have been completed on a specific date; if✅ 202104141210
is appended, then one can know the specific time when a task is completed.Beta Was this translation helpful? Give feedback.
All reactions