DateTim...e::mg_MG(3)
π NAME π
Okay bestie, welcome to DateTim...e::mg_MG(3) from User Contributed Perl Documentation. This page is literally the locale-data showcase for the Malagasy Madagascar locale, and it is lowkey iconic.
DateTime::Locale::mg_MGβ locale data examples for the Malagasy Madagascar (mg-MG) locale.
πΈ DESCRIPTION πΈ
This pod file is packed with examples of the locale data available for the Malagasy Madagascar locale. No cap, it's a whole showcase, and we're going through every single part.
ποΈ Days
Wide (format)
Alatsinainy
Talata
Alarobia
Alakamisy
Zoma
Asabotsy
Alahady
Abbreviated (format)
Alats
Tal
Alar
Alak
Zom
Asab
Alah
Narrow (format)
A
T
A
A
Z
A
A
Wide (stand-alone)
Alatsinainy
Talata
Alarobia
Alakamisy
Zoma
Asabotsy
Alahady
Abbreviated (stand-alone)
Alats
Tal
Alar
Alak
Zom
Asab
Alah
Narrow (stand-alone)
A
T
A
A
Z
A
A
π¦ Months
Wide (format)
Janoary
Febroary
Martsa
Aprily
Mey
Jona
Jolay
Aogositra
Septambra
Oktobra
Novambra
Desambra
Abbreviated (format)
Jan
Feb
Mar
Apr
Mey
Jon
Jol
Aog
Sep
Okt
Nov
Des
Narrow (format)
J
F
M
A
M
J
J
A
S
O
N
D
Wide (stand-alone)
Janoary
Febroary
Martsa
Aprily
Mey
Jona
Jolay
Aogositra
Septambra
Oktobra
Novambra
Desambra
Abbreviated (stand-alone)
Jan
Feb
Mar
Apr
Mey
Jon
Jol
Aog
Sep
Okt
Nov
Des
Narrow (stand-alone)
J
F
M
A
M
J
J
A
S
O
N
D
π Quarters
Wide (format)
Telovolana voalohany
Telovolana faharoa
Telovolana fahatelo
Telovolana fahefatra
Abbreviated (format)
T1
T2
T3
T4
Narrow (format)
1
2
3
4
Wide (stand-alone)
Telovolana voalohany
Telovolana faharoa
Telovolana fahatelo
Telovolana fahefatra
Abbreviated (stand-alone)
T1
T2
T3
T4
Narrow (stand-alone)
1
2
3
4
β¨ Eras
Wide (format)
Alohanβi JK
Aorianβi JK
Abbreviated (format)
BC
AD
Narrow (format)
BC
AD
π Date Formats
Full
2008-02-05T18:30:30 = Talata 5 Febroary 2008
1995-12-22T09:05:02 = Zoma 22 Desambra 1995
-0010-09-15T04:44:23 = Asabotsy 15 Septambra -10
Long
2008-02-05T18:30:30 = 5 Febroary 2008
1995-12-22T09:05:02 = 22 Desambra 1995
-0010-09-15T04:44:23 = 15 Septambra -10
Medium
2008-02-05T18:30:30 = 2008 Feb 5
1995-12-22T09:05:02 = 1995 Des 22
-0010-09-15T04:44:23 = -10 Sep 15
Short
2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15
β° Time Formats
Full
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
Long
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
Short
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
π Datetime Formats
Full
2008-02-05T18:30:30 = Talata 5 Febroary 2008 18:30:30 UTC
1995-12-22T09:05:02 = Zoma 22 Desambra 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Asabotsy 15 Septambra -10 04:44:23 UTC
Long
2008-02-05T18:30:30 = 5 Febroary 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 Desambra 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Septambra -10 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 2008 Feb 5 18:30:30
1995-12-22T09:05:02 = 1995 Des 22 09:05:02
-0010-09-15T04:44:23 = -10 Sep 15 04:44:23
Short
2008-02-05T18:30:30 = 2008-02-05 18:30
1995-12-22T09:05:02 = 1995-12-22 09:05
-0010-09-15T04:44:23 = -10-09-15 04:44
π Available Formats
Bh (h B)
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
Bhm (h:mm B)
2008-02-05T18:30:30 = 6:30 B
1995-12-22T09:05:02 = 9:05 B
-0010-09-15T04:44:23 = 4:44 B
Bhms (h:mm:ss B)
2008-02-05T18:30:30 = 6:30:30 B
1995-12-22T09:05:02 = 9:05:02 B
-0010-09-15T04:44:23 = 4:44:23 B
E (ccc)
2008-02-05T18:30:30 = Tal
1995-12-22T09:05:02 = Zom
-0010-09-15T04:44:23 = Asab
EBhm (E h:mm B)
2008-02-05T18:30:30 = Tal 6:30 B
1995-12-22T09:05:02 = Zom 9:05 B
-0010-09-15T04:44:23 = Asab 4:44 B
EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = Tal 6:30:30 B
1995-12-22T09:05:02 = Zom 9:05:02 B
-0010-09-15T04:44:23 = Asab 4:44:23 B
EHm (E HH:mm)
2008-02-05T18:30:30 = Tal 18:30
1995-12-22T09:05:02 = Zom 09:05
-0010-09-15T04:44:23 = Asab 04:44
EHms (E HH:mm:ss)
2008-02-05T18:30:30 = Tal 18:30:30
1995-12-22T09:05:02 = Zom 09:05:02
-0010-09-15T04:44:23 = Asab 04:44:23
Ed (d, E)
2008-02-05T18:30:30 = 5, Tal
1995-12-22T09:05:02 = 22, Zom
-0010-09-15T04:44:23 = 15, Asab
Ehm (E h:mm a)
2008-02-05T18:30:30 = Tal 6:30 PM
1995-12-22T09:05:02 = Zom 9:05 AM
-0010-09-15T04:44:23 = Asab 4:44 AM
Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = Tal 6:30:30 PM
1995-12-22T09:05:02 = Zom 9:05:02 AM
-0010-09-15T04:44:23 = Asab 4:44:23 AM
Gy (G y)
2008-02-05T18:30:30 = AD 2008
1995-12-22T09:05:02 = AD 1995
-0010-09-15T04:44:23 = BC -10
GyMMM (G y MMM)
2008-02-05T18:30:30 = AD 2008 Feb
1995-12-22T09:05:02 = AD 1995 Des
-0010-09-15T04:44:23 = BC -10 Sep
GyMMMEd (G y MMM d, E)
2008-02-05T18:30:30 = AD 2008 Feb 5, Tal
1995-12-22T09:05:02 = AD 1995 Des 22, Zom
-0010-09-15T04:44:23 = BC -10 Sep 15, Asab
GyMMMd (G y MMM d)
2008-02-05T18:30:30 = AD 2008 Feb 5
1995-12-22T09:05:02 = AD 1995 Des 22
-0010-09-15T04:44:23 = BC -10 Sep 15
GyMd (GGGGG y-MM-dd)
2008-02-05T18:30:30 = AD 2008-02-05
1995-12-22T09:05:02 = AD 1995-12-22
-0010-09-15T04:44:23 = BC -10-09-15
H (HH)
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
Hm (HH:mm)
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
Hms (HH:mm:ss)
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
Hmsv (HH:mm:ss v)
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
Hmv (HH:mm v)
2008-02-05T18:30:30 = 18:30 UTC
1995-12-22T09:05:02 = 09:05 UTC
-0010-09-15T04:44:23 = 04:44 UTC
M (M)
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MEd (E d/M)
2008-02-05T18:30:30 = Tal 5/2
1995-12-22T09:05:02 = Zom 22/12
-0010-09-15T04:44:23 = Asab 15/9
MMM (MMM)
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Des
-0010-09-15T04:44:23 = Sep
MMMEd (E d MMM)
2008-02-05T18:30:30 = Tal 5 Feb
1995-12-22T09:05:02 = Zom 22 Des
-0010-09-15T04:44:23 = Asab 15 Sep
MMMMEd (E d MMMM)
2008-02-05T18:30:30 = Tal 5 Febroary
1995-12-22T09:05:02 = Zom 22 Desambra
-0010-09-15T04:44:23 = Asab 15 Septambra
MMMMW-count-other ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of Febroary
1995-12-22T09:05:02 = week 3 of Desambra
-0010-09-15T04:44:23 = week 2 of Septambra
MMMMd (d MMMM)
2008-02-05T18:30:30 = 5 Febroary
1995-12-22T09:05:02 = 22 Desambra
-0010-09-15T04:44:23 = 15 Septambra
MMMd (d MMM)
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Des
-0010-09-15T04:44:23 = 15 Sep
MMd (d/MM)
2008-02-05T18:30:30 = 5/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
MMdd (dd/MM)
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
Md (d/M)
2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9
d (d)
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
h (h a)
2008-02-05T18:30:30 = 6 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM
hm (h:mm a)
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
hms (h:mm:ss a)
2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM
hmsv (h:mm:ss a v)
2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC
hmv (h:mm a v)
2008-02-05T18:30:30 = 6:30 PM UTC
1995-12-22T09:05:02 = 9:05 AM UTC
-0010-09-15T04:44:23 = 4:44 AM UTC
ms (m:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 5:02
-0010-09-15T04:44:23 = 44:23
y (y)
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM (M/y)
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
yMEd (E d/M/y)
2008-02-05T18:30:30 = Tal 5/2/2008
1995-12-22T09:05:02 = Zom 22/12/1995
-0010-09-15T04:44:23 = Asab 15/9/-10
yMM (MM/y)
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10
yMMM (MMM y)
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Des 1995
-0010-09-15T04:44:23 = Sep -10
yMMMEd (E d MMM y)
2008-02-05T18:30:30 = Tal 5 Feb 2008
1995-12-22T09:05:02 = Zom 22 Des 1995
-0010-09-15T04:44:23 = Asab 15 Sep -10
yMMMM (MMMM y)
2008-02-05T18:30:30 = Febroary 2008
1995-12-22T09:05:02 = Desambra 1995
-0010-09-15T04:44:23 = Septambra -10
yMMMd (d MMM y)
yMdβ year, month, day, that's the whole serve π
2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15
yQQQβ abbreviated quarter, then the year, no notes π
2008-02-05T18:30:30 = T1 2008
1995-12-22T09:05:02 = T4 1995
-0010-09-15T04:44:23 = T3 -10
yQQQQβ the full-word quarter flex, iconic behavior honestly π
2008-02-05T18:30:30 = Telovolana voalohany 2008
1995-12-22T09:05:02 = Telovolana fahefatra 1995
-0010-09-15T04:44:23 = Telovolana fahatelo -10
yw-count-otherβ the'week' w 'of' Ypattern, literally spelling it out for you ποΈ
2008-02-05T18:30:30 = week 6 of 2008
1995-12-22T09:05:02 = week 51 of 1995
-0010-09-15T04:44:23 = week 37 of -10
π¦ MISCELLANEOUS π¦
The little vibe-check details of this locale, bestie:
Prefers 24 hour time?
Yes π no AM/PM chaos here, we're doing grown-up time.
Local first day of the week
1 (Alatsinainy) β that's Monday taking the main character slot, as it should π
β¨ STRFTIME PATTERNS β¨
Okay so these are the classic strftime-style patterns this locale hands you, each one with its little format-plus-friendly-name situation. Watch the outputs change per date π
%c(%a %d %b %Y %T) β date time format, the full combo meal π
2008-02-05T18:30:30 = Tal 05 Feb 2008 18:30:30
1995-12-22T09:05:02 = Zom 22 Des 1995 09:05:02
-0010-09-15T04:44:23 = Asab 15 Sep -10 04:44:23
%x(%d.%m.%Y) β date format, dots only, no slashes allowed π
2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.09.-10
%X(%T) β time format, and it's giving 24-hour excellence π₯
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
Side note for the girlies doing the math: that negative year example outputs15.09.-10for%xβ yes, with the minus sign sitting right there in the day/month/year string. Keep it exactly as shown, don't go "fixing" it π
π SUPPORT π
Need more? Go read DateTime::Locale. That's the whole support section, and honestly? Slay, concise queen πΈ
That's the whole page, bestie β DateTim...e::mg_MG(3) from the perl v5.42.0 distribution, dated 2024-12-12. Go format some Malagasy dates, you're gonna eat π
β¨π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms