Skip to content

Time validation not working properly for languages does not have AM/PM #2442

@ahamedalthaf

Description

@ahamedalthaf

Time formatting not working properly for languages that has different value apart from AM and PM for meridiem.

Ex:

Japanese Language:

Current:
dayjs('9:00 午後', 'h:mm A', 'ja').format('h:mm A') - 9:00 午前 (Wrong)

The value should be like below.
dayjs('9:00 午後', 'h:mm A', 'ja').format('h:mm A') - 9:00 午後 (Correct)

Information

Day.js Version: 1.11.9,
OS: MacOs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions