Skip to content

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.

2 participants