AY2425S1-CS2103T-F13-1 / tp

MIT License
0 stars 5 forks source link

[PE-D][Tester E] Year 0000 is valid #301

Closed nus-se-bot closed 1 day ago

nus-se-bot commented 4 days ago

Summary

Although not realistic, trying to add lessons to invalid year 0000 still succeeds.

Steps to reproduce

  1. try addlesson d/0000-02-29 t/22:20

Expected

Command fails as 0000-02-29 is an invalid date:

image.png

As stated here: image.png

Observed

Command succeeds

image.png

Tester Information

Date of download of file:

20241108-151309-original.png

System Information:

Java version:


Labels: severity.Medium type.FunctionalityBug original: yadobler/ped#11

S-K-Y-Light commented 3 days ago

Accepted. Treat "0000" as an invalid year