Skip to content

Arabic language is missing meridiem function #2416

@alandio

Description

@alandio

Describe the bug
In all Arabic locales ar-xx there exists a localized meridiem, but only in the basic ar locale this does not exist. For reference here is how it is done in moment.js https://github.com/moment/moment/blob/e96809208c9d1b1bbe22d605e76985770024de42/locale/ar.js#L143-L154

Another issue which is not related to this and might open another issue for it, is that none of the ar-xx locales use Arabic numerals like seen in the figure below. Is this a decision taken by the team?

different in meridiem format for ar and ar-dz locales

Expected behavior
The ar locale should also localize meridiem to show 'م' or 'ص'

Information

  • Day.js Version: v1.11.9
  • OS: Windows 11
  • Browser: chrome 116
  • Time zone: GMT+03:00

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