Skip to content

editing to an invalid date #1

Description

@dnardnar

Expected: Error Message of invalid date.
Actual: Edits the Assignment to 28February
Suggestion/ Why it is problematic: It is problematic because they may have typed the wrong month on accident and allowed the error to go through becoming 28February instead of the actual date.
Steps to reproduce:
Assuming data cleared,
add_student n/John Doe p/98765432 e/johndoe@email.com a/311, Clementi Ave 2, #2-25 s/Math
add_lesson n/John Doe d/17-09-2025 t/15:00 s/Math
edit_lesson 1 d/30-02-2026
Screenshot:
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