feat(locale): add Odia (or) locale support #2996
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This pull request introduces full locale support for Odia (ଓଡ଼ିଆ) by adding a
new
or.jslocale file. Odia is an Indo‑Aryan language spoken by more than40 million people, primarily in the Indian state of Odisha. Day.js currently
does not include an Odia locale, and this addition enables developers to
provide accurate date, time, and relative‑time formatting for Odia‑speaking
users.
Details
The new locale definition includes:
name: "or")dayjs.locale(locale, undefined, true)All translations follow standard Odia usage and Unicode‑consistent spellings.
Rationale
Odia is an officially recognized language of India (8th Schedule) and widely
used across government, legal, educational, and consumer applications. Adding
native support in Day.js improves accessibility and localization coverage for
a large user base across India and the Odia‑speaking diaspora.
Notes
follow natural Odia structure without additional markers.
widely accepted Odia linguistic conventions.
Checklist
or.jslocale filedayjs.locale()