Skip to content

Incorrect handling of deadline in edit feature #8

@hweinian

Description

@hweinian

Overall description

There are several bugs that are not being handled in the edit feature. this makes the Deadline tag rather unusable to users as there are several bug. With so much bugs in the deadline, user may not even know if the deadline added is of the intended action.

Bug 1:

Description

When I edit the first index with the date 01-01-0000, it adds the date as year 2000 even though the year is 0000. As a user, there could have been a typo and the app would still accept it

Additionally

Steps to reproduce:

  1. edit 1 d/01-01-0000

Screenshot

After entering the command: edit 1 d/01-01-0000
image.png

Bug 2:

Description

When I have added a date with trailing zeros, it apparently got accepted which I believe is not an intended feature of the app as stated in the user guide. The screenshot may be extreme, but even with 1 extra zero, it still accept it.

It works the same for 011-010-2000

Screenshot

image.png

image.png

Bug 3:

Description

Able to add dates like 010-010-010 which will save the date 10 october, 2010. As mentioned in DG, this input should be invalid and should show an error message

Screenshot

image.png

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions