Skip to content

Datetime task formatting for invalid dates #2

@LimAiLin

Description

@LimAiLin

Description:

The date formatting is unintuitive. For instance, adding a task with a deadline of 2022-02-30 (30 February 2022) changes it to 2 March 2022.

It is nice that the UG points out that: “2022-02-31” will be read as 3 March..

However, it might be better if more explanation is given to this phenomenon like which dates don't work and what will giving a wrong date change the date of CodeConnect to e.g., why 30 February will be changed to 2 March and not 3 March as stated in the UG.

How to replicate this problem:

Run the command "add finish SEP application by/2022-02-30 23:59"

Screenshots:

Before:

image.png

After:

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