Open Dethada opened 7 months ago
Thank you for raising this issue. While we acknowledge that this may cause inconvenience to some users, addressing this particular issue is currently not within our scope due to existing project priorities and resource constraints and we have mentioned how we handle leap dates in the UG. Our team is currently focused on addressing critical bugs and implementing essential features to enhance user experience. However, we have noted your feedback and will consider it for future updates to handle leap dates better. Thank you for your understanding.
[The team marked this bug as a duplicate of the following bug]
Incorrect handling of leap years
Setting the
/tt
field to invalid leap years still create a new an interview time, but at the incorrect time.For example, the following command:
add cn/Google n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 tt/290221002359 i/Birthday: 12 May 2001 s/5000 pl/Java t/friends t/owesMoney pri/2
Incorrectly determines 29 Feb 2100 as a valid date, instead choosing to depict it as occurring the previous day, as seen below:
[original: nus-cs2103-AY2324S2/pe-interim#187] [original labels: type.FunctionalityBug severity.Low]
[This is the team's response to the above 'original' bug]
Already stated in UG
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: In my bug report I specifically mentioned that the date time I am testing (31-04-2025 14:00
) is not a valid date time and not leap year or leap day related. The 'Original' bug however is specifically talking about leap year.
Bug Description
310420251400
which translates to31-04-2025 14:00
is not a valid date time and not leap year or leap day related, however providing it as a date time input results in30-04-2025 14:00
being the parsed value.Steps to Reproduce
add cn/Google n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 tt/310420251400 i/Birthday: 12 May 2001 s/5000 pl/Java t/friends t/owesMoney pri/2
Expected Behavior
The command should fail due to invalid date time provided.
Screenshots