raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.41k stars 3.1k forks source link

Wrong date interpretation from datePicker field #15454

Open J-P-Robin opened 1 day ago

J-P-Robin commented 1 day ago

Description

As future dates are prioritized when typing a date, when typing a time in the past, it will display the future time (next day), which is expected if you only type the time.

Though, if you enter for example "Today 13:00" and the actual time is past 13:00, it will display tomorrow at 13:00. I would instead expect it to use today as the actual date.

image

Steps To Reproduce

No response

Current Behaviour

When typing "Today 13:00" and the actual time is past 13:00, it will display tomorrow at 13:00.

Expected Behaviour

When typing "Today 13:00" and the actual time is past 13:00, it should display today at 13:00.