nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

Date input format inconsistent #3320

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

addses s/Tutorial 10 d/9/9/2020 Since not putting the zero infront of the day and month works why doesnt it work for year

Test case: addses s/Tutorial 10 d/9/9/20 image.png

Test case: addses s/Tutorial 10 d/9/9/0020 image.png


[original: nus-cs2103-AY2021S1/pe-interim#5720]

erisjacey commented 3 years ago

Team's Response

This would not make sense to implement for year.

We intended for this to work only for day and month.

image.png

The reason we allowed this to work for day and month is to slightly enhance UX, but it does not make sense to include a similar design consideration for year.

We don't think classes existed in the years 999 and below, did they?

Duplicate status (if any):

--