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

Feature: Allow date parser to detect time when auto suggest today is enabled #140

Closed
DamascenoRafael opened this issue May 16, 2023 · 3 comments

Comments

@DamascenoRafael
Copy link
Owner

At the moment, when some date/time has been defined by the user the detection of the date parser is stopped. This includes when today's date is suggested because the auto suggest today as date option is enabled.

It would be nice if the date parser could suggest time-only to add when only the date has been defined outside the parser.

As we are using Apple's NSDataDetector API this is relatively complicated and has different edge cases. The API does not provide for example if time-only was detected or if it was a date+time (when time-only is detected this is returned as the current day at the detected time).

This feature should not overwrite dates that were manually entered.
This feature was first discussed in #136

@yoghurtdewdew
Copy link

image

I found the same problem:
Unable to recognize date when opening both Suggested Today and Recognized Date simultaneously

@DamascenoRafael
Copy link
Owner Author

@yoghurtdewdew I have some insights on how I'm going to fix this.

@DamascenoRafael
Copy link
Owner Author

Working on this, it will be available in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants