nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Unspecified behaviour for some invalid dates in "add" command #3477

Open nus-se-script opened 4 months ago

nus-se-script commented 4 months ago

When inputting dates for the "add" command, using some invalid dates such as 30-02-1990 automatically changes the date to the nearest valid date, but this is unspecified in the user guide.

Steps to reproduce:

  1. Type "add ic/2354944F n/John Doe p/91234567 e/johndoe@email.com g/M b/30-02- 1990 d/Paracetamol | Penicillin i/Infectious Diseases"

  2. Press "enter"

The result is as follows:

image.png


[original: nus-cs2103-AY2324S2/pe-interim#4389] [original labels: type.FunctionalityBug severity.Low]

jmsandiegoo commented 4 months ago

Team's Response

This can be seen as duplicate of #5289

Duplicate status (if any):

Duplicate of #5289