Skip to content

[Bug] Appointment date accepts 29 February and 30th February as arguments #2

Description

@Ditzchann

When entering
add -n John Doe -p 91234560 -a 123 Clementi Ave 34 -g Male -d 2025-02-29
or
add -n John Doe -p 91234560 -a 123 Clementi Ave 34 -g Male -d 2025-02-30

The app does not throw an error such as if
add -n John Doe -p 91234560 -a 123 Clementi Ave 34 -g Male -d 2025-01-32
was given and instead treats the input date as if it was 2025-02-28

image.png

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions