Spec 0.6.0
Malagasy dates: rules and sources
Writes Gregorian dates in Malagasy, and gives the Malagasy names of months and weekdays.
-
Input is a calendar date, never a time:
- text in ISO 8601 form
YYYY-MM-DD(2026-11-23), or - calendar fields
{ year, month, day }; ports may also accept their native date type (JavaScriptDate, read in its local calendar fields; PHPDateTimeInterface).
- text in ISO 8601 form
-
Years 1 to 9999. Other years are
OUT_OF_RANGE. -
Impossible dates (
2026-02-30,2023-02-29):INVALID_FORMATfor text,OUT_OF_RANGEfor calendar fields. Text in any other shape (26/06/1960,2026-1-5, with a time) isINVALID_FORMAT. Anything else isINVALID_TYPE. -
Styles (
formatDate), defaultlong:Style Pattern 2026-11-23longd MMMM y23 Novambra 2026fullEEEE d MMMM yAlatsinainy 23 Novambra 2026mediumy MMM d2026 Nov 23shorty-MM-dd2026-11-23numericdd/MM/y23/11/2026Pattern letters:
EEEEweekday name,dday,ddtwo-digit day,MMMMmonth name,MMMabbreviated month,MMtwo-digit month,yyear. Any other style isINVALID_TYPE. -
Names. Months 1–12, weekdays numbered as in ISO 8601 (Monday 1 … Sunday 7). Width
wide(default) orabbreviated; other widths areINVALID_TYPE, other numbersOUT_OF_RANGE.
| # | Month | Abbr. | ISO | Weekday | Abbr. | |
|---|---|---|---|---|---|---|
| 1 | Janoary | Jan | 1 | Alatsinainy | Alats | |
| 2 | Febroary | Feb | 2 | Talata | Tal | |
| 3 | Martsa | Mar | 3 | Alarobia | Alar | |
| 4 | Aprily | Apr | 4 | Alakamisy | Alak | |
| 5 | Mey | Mey | 5 | Zoma | Zom | |
| 6 | Jona | Jon | 6 | Asabotsy | Asab | |
| 7 | Jolay | Jol | 7 | Alahady | Alah | |
| 8 | Aogositra | Aog | ||||
| 9 | Septambra | Sep | ||||
| 10 | Oktobra | Okt | ||||
| 11 | Novambra | Nov | ||||
| 12 | Desambra | Des |
Sources
Section titled “Sources”- Month and weekday names, abbreviations, and the
long,full,mediumandshortpatterns: Unicode CLDR 49, localemg, ca-gregorian.json. - Cross-checked with the Malagasy Dictionary: Janoary, Alatsinainy (“andro faharoa amin’ny herinandro”, second day of the week), Alahady (“andro voalohany amin’ny herinandro”, first day of the week).
Recorded decisions
Section titled “Recorded decisions”numericstyledd/MM/y. CLDRmghas no such pattern (itsshortisy-MM-dd). The project lead asked (2026-11-24) for both: CLDR by default, anddd/MM/yas an option because it is the everyday written form in Madagascar.- ISO weekday numbers. The dictionary counts Sunday (Alahady) as the first day of the week; the spec numbers weekdays as ISO 8601 (Monday 1) so every language maps them the same way. Names are unaffected.