Open totsukatomofumi opened 2 years ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Invalid DEADLINE date accepted and truncated for addtask
Command(s)
addtask t/Prepare tutorial slides d/2022-02-31
Does not throw an invalid date error, instead adds a task on 28th February.
Expected: Invalid date error
[original: nus-cs2103-AY2223S1/pe-interim#4905] [original labels: type.FunctionalityBug severity.Low]
[This is the team's response to the above 'original' bug]
Invalid dates are not accepted but rounded down to the nearest valid date. This only happens when the day is 31 or less (i.e the app does not accept if
2022-08-32
is entered).Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Team chose [severity.Low
]
Originally [severity.Medium
]
Reason for disagreement: Not specified in your user guide nor in the app itself, can affect typical usage.
2022-02-31 is allowed even though February only has 28 days (29 on a leap year) if I recall.
The invalid date is allowed and will be recorded as 2022-02-28. This allowance of invalid inputs may leave users complacent and transforming of the date when recorded will leave users confused.