teojunda / pe

0 stars 0 forks source link

No warning for invalid date #3

Closed teojunda closed 4 months ago

teojunda commented 4 months ago

Screenshot 2024-04-19 at 4.21.26 PM.png

When executing sched 1 --title=Meeting --from=29/02/2025 17:00 --to=29/02/2025 18:00 --addr=Meeting Room A, 358 Clementi Ave 2 #01-285 Singapore 120358, the date is invalid. However, the app does not warn the user that the date is invalid.

Instead the app sets the meeting date to 28/02/2025. This might mislead the user if he inputs a wrong date. Screenshot 2024-04-19 at 4.22.37 PM.png