Closed mounilsankar closed 10 months ago
@yanghengtang @derekjxtan this can be fixed right cause its outright a bug?
Yea its a bug since we allow invalid values. But if its a issue with DateTime.parse is it even worth the effort to fix?
Fixing it should be quite simple
If an invalid date is typed in add_a command, the date wraps to nearest valid date. This is a bug with the DateTime parse method To reproduce: Type in an add_a command with an invalid date such as "add_a pic\S9912343G dic\T0212385J from\2023-02-31 07:30 to\2023-02-31 08:00"