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

Fix #185 - tighten up adjustment of reminder dates implied to be tomorrow #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yunruse
Copy link
Contributor

@yunruse yunruse commented Jun 13, 2024

If only a time is provided, but it is in the past, assume tomorrow. For example, if it is currently noon but a user states "8am". This fixes:

In addition, if a reminder is placed in the past with an explicit year (e.g. it is June 2024 and the user provides "Feb 2 2024"), the date is not overridden with the next year. (Bit of an obscure fix, but it didn't hurt to add while I was in the area!)

- If only a time is provided but it is in the past, shunt it to tomorrow (fixes DamascenoRafael#185)
- If (for some exceedingly obscure reason...) a user explicitly provides the current year, don't override it with next year!
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

Successfully merging this pull request may close these issues.

1 participant