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

Enable users to add an additional format to be used to recognise dates in file names #1369

Closed
2 tasks done
lexuna opened this issue Dec 2, 2022 · 9 comments
Closed
2 tasks done
Labels
help wanted Extra attention is needed scope: parsing markdown See also 'scope: global filter' scope: task dates and times Requests for enhancements to types and formats of dates and times associated with tasks status: not planned type: enhancement New feature or request

Comments

@lexuna
Copy link

lexuna commented Dec 2, 2022

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

I'd like to have the ability to customise the date format e.g. to the european DD.MM.YYYY

✔️ Solution

A field in the configuration to customise the date format, like in other plugins. E.g. the daily note plugin:
image

With this option i'll be able to combine the plugins and use the "use file name as scheduled date for undatet tasts"

❓ Alternatives

A alternative is that the "use file name as scheduled date for undatet tasts" option is compatible with other patterns than YYYY-MM-DD

📝 Additional Context

No response


Edited 2022-12-04

Please see the comment below for an updated description.

@lexuna lexuna added the type: enhancement New feature or request label Dec 2, 2022
@claremacrae
Copy link
Collaborator

claremacrae commented Dec 2, 2022

Hi, I'm curious to know how you searched for similar requests, as this is a duplicate of #1254, #1273, #1252, #500, #824 and likely many others.

Is there something more I can do to help people save their time creating duplicates?

Thanks in advance.

@claremacrae claremacrae added the duplicate This issue, pull request or discussion already exists label Dec 2, 2022
@claremacrae
Copy link
Collaborator

claremacrae commented Dec 2, 2022

For example, searching for "date format" in Discussions shows these:
https://github.com/obsidian-tasks-group/obsidian-tasks/discussions?discussions_q=%22date+format%22

This is far from the only duplicate that gets created - so I promise that this is not a complaint about this particular issue.

I'm honestly just trying to save users' time.

@claremacrae claremacrae added the scope: task dates and times Requests for enhancements to types and formats of dates and times associated with tasks label Dec 2, 2022
@claremacrae
Copy link
Collaborator

Hmmmm - maybe it partly isn't a duplicate after all.

If so, my apologies.

I read the title ("Customise date format") and this feature description to mean it was the same as existing requests - to allow different date formats on things like 📅

I'd like to have the ability to customise the date format e.g. to the european DD.MM.YYYY

Re-reading the later text, it sounds like the fundamental part is more specifically to allow a custom date format for "use file name as scheduled date for undated tasks".

Any chance the summary could be made more specific please?

@claremacrae claremacrae added the question Further information is requested label Dec 2, 2022
@lexuna
Copy link
Author

lexuna commented Dec 2, 2022

Yes the fundamental part is the custom date format for "use file name as scheduled date for undated tasks". I'm used to the european format so i use the daily note with that format. So it would be nice if i could use option "use file name as scheduled date for undated tasks" but i don't want to change to the YYYY-MM-DD in the daily notes. But i don't need a format change for all shown dates. So i only mean/need the compatibility with other formats at this option.

@claremacrae
Copy link
Collaborator

Brilliant. Thank you very much for the suggestion.

I'll have a think about the wording and update the issue, so it's clear for anyone who feels like implementing it.

@claremacrae claremacrae added scope: parsing markdown See also 'scope: global filter' and removed duplicate This issue, pull request or discussion already exists question Further information is requested labels Dec 2, 2022
@claremacrae
Copy link
Collaborator

Context

Daily Note plugins allow users to customise the format to use for the names of daily note files.

Some countries use different formats to the YYYY-MM-DD and YYYYMMDD options currently supported by 'Use filename as Scheduled date for undated tasks'.

For example, some European users will use DD.MM.YYYY

🔖 Feature description (updated)

Enable users to add an additional format to be used to recognise dates in file names.

Likely with a new field in the Date Settings section of the Tasks options.

image

@claremacrae claremacrae changed the title Customise date format Enable users to add an additional format to be used to recognise dates in file names Dec 4, 2022
@claremacrae claremacrae added the help wanted Extra attention is needed label Dec 4, 2022
@claremacrae
Copy link
Collaborator

In view of this size of the backlog for this project, and the demotivating effect of a very long backlog on volunteer energy levels, I'm going through a slow process of reviewing tasks for things that are one or more of the following:

  • unlikely to be realistically achievable, from the design of the current code, and the planned future refactorings
  • not sufficiently high priority to a broad community of users, based on the feedback I receive from a variety of sources
  • do not fit the core purpose of the Tasks plugin
  • are better covered by a different plugin - to share the development and maintenance effort

So I'm marking this one as 'not planned'. This doesn't mean 'won't fix' - it means not likely to be done in the foreseeable future.

@claremacrae claremacrae closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2024
@CasualRoses
Copy link

Just came across this plugin and have begun migrating tasks from Todoist, sad to see this issue closed. I would love to see custom (or at least additional) date formats. Never thought I'd be so picky about date formats, but here we are!

I read this thread and understand the reasons for de-prioritizing this request, if my comment is enough to raise it up - great. Still a novice with Obsidian and Github, so thanks for all the effort already put forward.

@rdotto
Copy link

rdotto commented May 2, 2024

I think this would be a great addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed scope: parsing markdown See also 'scope: global filter' scope: task dates and times Requests for enhancements to types and formats of dates and times associated with tasks status: not planned type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants