Skip to content

Wrong value when parsing nepali date string #28

Open
@subeshb1

Description

@subeshb1

When parsing invalid date 2020/20/20 it gives 20/08/2021.

The value should be the same when the string is sent to the constructor.

The reason, this bug exists is because it uses the same logic as number constructor.

Acceptance Criteria
The string value should be parsed as it is or not parsed at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions