Skip to content

feat: Add malagasy (mg πŸ‡²πŸ‡¬) locale #2863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

nifaliana
Copy link

✨ Add Malagasy (mg πŸ‡²πŸ‡¬) Locale Support for Day.js

Overview

This PR introduces full support for the Malagasy (mg) locale in Day.js. It includes:

βœ… Full translation of months, weekdays (long, short, min)
βœ… Date and time formats
βœ… Relative time strings
βœ… Week config
βœ… Calendar support

Tests

A comprehensive test suite has been added, covering:

  • Relative time (past/future with/without suffix)
  • Date formatting
  • Calendar phrases
  • Ordinal formatting

Motivation

We are actively using the Malagasy locale in multiple projects via extended packages. To ensure consistency and long-term maintainability, we would like to contribute this locale officially to Day.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant