We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I query Sherlock for "tomorrow at 10", I expect 10:00am every time — the first "10:00" that occurs tomorrow.
However, if I ask in the evening, Sherlock will give me 10:00 pm (22:00) instead.
Sherlock._setNow(new Date('2024-10-17T21:00:00')) Sherlock.parse('tomorrow at 10') -> {isAllDay: false, eventTitle: null, startDate: Fri Oct 18 2024 22:00:00 GMT-0400 (Eastern Daylight Time), endDate: null, validated: true}
If I ask earlier in the morning, I get 10:00 am:
Sherlock._setNow(new Date('2024-10-17T09:00:00')) Sherlock.parse('tomorrow at 10') -> {isAllDay: false, eventTitle: null, startDate: Fri Oct 18 2024 10:00:00 GMT-0400 (Eastern Daylight Time), endDate: null, validated: true}
The evening behavior seems like a bug to me. It also seems risky that I get different results based on the time of day I ask.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I query Sherlock for "tomorrow at 10", I expect 10:00am every time — the first "10:00" that occurs tomorrow.
However, if I ask in the evening, Sherlock will give me 10:00 pm (22:00) instead.
If I ask earlier in the morning, I get 10:00 am:
The evening behavior seems like a bug to me. It also seems risky that I get different results based on the time of day I ask.
The text was updated successfully, but these errors were encountered: