EugeneTeu / pe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flexible date format accepting wrong input

EugeneTeu opened this issue · comments

Expected Behavior

I key in the date as "three days from next monday"

Current Behavior

System accepts this erroneous input and caculates it as three days from now

Possible Solution

Steps to Reproduce

  1. enter command add n/coffee c/1.20 d/three days from the next monday
  2. current date is 15/11/2019 so expected date should be 21/11/2019
  3. input accepted

Screenshot 2019-11-15 at 4.37.23 PM.png

  1. output is wrong, should be calculated as 21/11/2019 instead.
    User guide does not state that i have to follow its format EXACTLY but can choose from it.
    Even if user guide did state it, this should be captured as an error message and not be inputted into the system

Team's Response

Thank you for testing our application and reporting this issue.

However, this is not a bug. The correct input is actually 3 days from next monday. It is also mentioned in the user guide that you may choose either of the following date formats, which means just one category:

For reference, the relevant information has been attached:
image.png

Due to the reasons above, the issue will be rejected.

Items for the Tester to Verify

❓ Issue response

Team chose [response.Rejected]

  • I disagree

Reason for disagreement: I take issue with the ambiguous wording and confusing command provided here by the team. Seems like they made it very hard for someone who does not have experience with using Natty library to use it properly. I am still confused by the instructions as i respond.