DateTim...e::en_MT(3)
π DateTime::Locale::en_MT(3) π
User Contributed Perl Documentation Β· DateTime::Locale::en_MT(3)
β¨ NAME β¨
DateTime::Locale::en_MT β literally the locale data examples for the English Malta (en-MT) locale, no cap π«Ά
π¦ DESCRIPTION π¦
Okay so bestie, this pod file is just packed with examples of the locale data you get for the English Malta locale. It's giving reference sheet, it's giving "everything you ever wanted to know about how en-MT spells Tuesday." Obsessed. Let's go π
πΈ Days πΈ
Wide (format) π
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Abbreviated (format) β¨
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Narrow (format) β
M
T
W
T
F
S
S
Wide (stand-alone) π
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Abbreviated (stand-alone) π¦
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Narrow (stand-alone) π
M
T
W
T
F
S
S
yes the narrow ones are literally just single letters and yesTandSshow up twice each β that's the whole vibe, don't come for them π
π Months π
Wide (format) π
January
February
March
April
May
June
July
August
September
October
November
December
Abbreviated (format) πΈ
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec
ok bestie, note that it'sSeptand notSepβ four whole letters, she's extra like that π
Narrow (format) β
J
F
M
A
M
J
J
A
S
O
N
D
Wide (stand-alone) π¦
January
February
March
April
May
June
July
August
September
October
November
December
Abbreviated (stand-alone) πΈ
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec
Narrow (stand-alone) β¨
J
F
M
A
M
J
J
A
S
O
N
D
the narrow months are giving "guess which J" energy and honestly? iconic.J,J, andJall in there, plus twoMs and twoAs. chaos. love her. π
π§ Quarters π§
Wide (format) π
1st quarter
2nd quarter
3rd quarter
4th quarter
Abbreviated (format) π
Q1
Q2
Q3
Q4
Narrow (format) π
1
2
3
4
Wide (stand-alone) π
1st quarter
2nd quarter
3rd quarter
4th quarter
Abbreviated (stand-alone) π
Q1
Q2
Q3
Q4
Narrow (stand-alone) π
1
2
3
4
π Eras π
Wide (format) π
Before Christ
Anno Domini
Abbreviated (format) β¨
BC
AD
Narrow (format) β
B
A
that's it, that's the whole eras section. short and slay. π
π₯ Date Formats π₯
Full π
2008-02-05T18:30:30 = Tuesday, 5 February 2008
1995-12-22T09:05:02 = Friday, 22 December 1995
-0010-09-15T04:44:23 = Saturday, 15 September -10
Long π¦
2008-02-05T18:30:30 = 05 February 2008
1995-12-22T09:05:02 = 22 December 1995
-0010-09-15T04:44:23 = 15 September -10
Medium πΈ
2008-02-05T18:30:30 = 05 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sept -10
Short β
2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
lowkey obsessed with how05/02/2008is day-first β day/month/year, the way that the rest of the world does it. also peep15/09/-10keeping the negative year and the slashes, she's committed π
β° 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
full and long are literally identical here, both rocking the UTC. not a typo, that's just what the data says, bestie π
π Datetime Formats π
Full π
2008-02-05T18:30:30 = Tuesday, 5 February 2008, 18:30:30 UTC
1995-12-22T09:05:02 = Friday, 22 December 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = Saturday, 15 September -10, 04:44:23 UTC
Long π
2008-02-05T18:30:30 = 05 February 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 December 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 September -10, 04:44:23 UTC
Medium β¨
2008-02-05T18:30:30 = 05 Feb 2008, 18:30:30
1995-12-22T09:05:02 = 22 Dec 1995, 09:05:02
-0010-09-15T04:44:23 = 15 Sept -10, 04:44:23
Short π¦
2008-02-05T18:30:30 = 05/02/2008, 18:30
1995-12-22T09:05:02 = 22/12/1995, 09:05
-0010-09-15T04:44:23 = 15/09/-10, 04:44
medium and short drop the UTC β full and long keep it. the way that they just decide based on length, iykyk π
π«Ά Available Formats π«Ά
okay this is the big one, grab a snack, we're going through every single named format, one by one, not skipping a single one π
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 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat
EBhm (E h:mm B) π¦
2008-02-05T18:30:30 = Tue 6:30 B
1995-12-22T09:05:02 = Fri 9:05 B
-0010-09-15T04:44:23 = Sat 4:44 B
EBhms (E h:mm:ss B) π§
2008-02-05T18:30:30 = Tue 6:30:30 B
1995-12-22T09:05:02 = Fri 9:05:02 B
-0010-09-15T04:44:23 = Sat 4:44:23 B
EHm (E HH:mm) π
2008-02-05T18:30:30 = Tue 18:30
1995-12-22T09:05:02 = Fri 09:05
-0010-09-15T04:44:23 = Sat 04:44
EHms (E HH:mm:ss) π
2008-02-05T18:30:30 = Tue 18:30:30
1995-12-22T09:05:02 = Fri 09:05:02
-0010-09-15T04:44:23 = Sat 04:44:23
Ed (E d) π
2008-02-05T18:30:30 = Tue 5
1995-12-22T09:05:02 = Fri 22
-0010-09-15T04:44:23 = Sat 15
Ehm (E h:mm a) π₯
2008-02-05T18:30:30 = Tue 6:30 pm
1995-12-22T09:05:02 = Fri 9:05 am
-0010-09-15T04:44:23 = Sat 4:44 am
Ehm-alt-ascii (E h:mm a) π
2008-02-05T18:30:30 = Tue 6:30 pm
1995-12-22T09:05:02 = Fri 9:05 am
-0010-09-15T04:44:23 = Sat 4:44 am
Ehms (E h:mm:ss a) π
2008-02-05T18:30:30 = Tue 6:30:30 pm
1995-12-22T09:05:02 = Fri 9:05:02 am
-0010-09-15T04:44:23 = Sat 4:44:23 am
Ehms-alt-ascii (E h:mm:ss a) π
2008-02-05T18:30:30 = Tue 6:30:30 pm
1995-12-22T09:05:02 = Fri 9:05:02 am
-0010-09-15T04:44:23 = Sat 4:44:23 am
Gy (y G) β
2008-02-05T18:30:30 = 2008 AD
1995-12-22T09:05:02 = 1995 AD
-0010-09-15T04:44:23 = -10 BC
GyMMM (MMM y G) π¦
2008-02-05T18:30:30 = Feb 2008 AD
1995-12-22T09:05:02 = Dec 1995 AD
-0010-09-15T04:44:23 = Sept -10 BC
GyMMMEd (E, d MMM y G) π
2008-02-05T18:30:30 = Tue, 5 Feb 2008 AD
1995-12-22T09:05:02 = Fri, 22 Dec 1995 AD
-0010-09-15T04:44:23 = Sat, 15 Sept -10 BC
GyMMMd (d MMM y G) πΈ
2008-02-05T18:30:30 = 5 Feb 2008 AD
1995-12-22T09:05:02 = 22 Dec 1995 AD
-0010-09-15T04:44:23 = 15 Sept -10 BC
GyMd (d/M/y G) β¨
2008-02-05T18:30:30 = 5/2/2008 AD
1995-12-22T09:05:02 = 22/12/1995 AD
-0010-09-15T04:44:23 = 15/9/-10 BC
notice howGyMdkeeps it slim β5/2/2008with no leading zeros, unlike the paddeddd/MMcrew below. different strokes, bestie π
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 (L) β
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MEd (E, dd/MM) πΈ
2008-02-05T18:30:30 = Tue, 05/02
1995-12-22T09:05:02 = Fri, 22/12
-0010-09-15T04:44:23 = Sat, 15/09
MMM (LLL) π
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept
MMMEd (E, d MMM) π
2008-02-05T18:30:30 = Tue, 5 Feb
1995-12-22T09:05:02 = Fri, 22 Dec
-0010-09-15T04:44:23 = Sat, 15 Sept
MMMMW-count-one ('week' W 'of' MMMM) π§
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
MMMMW-count-other ('week' W 'of' MMMM) π§
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
count-oneandcount-otherand yeah, they output the exact same thing here. that's just how it is, don't @ me π
MMMMd (d MMMM) π¦
2008-02-05T18:30:30 = 5 February
1995-12-22T09:05:02 = 22 December
-0010-09-15T04:44:23 = 15 September
MMMd (dd MMM) β¨
2008-02-05T18:30:30 = 05 Feb
1995-12-22T09:05:02 = 22 Dec
-0010-09-15T04:44:23 = 15 Sept
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 (dd/MM) π
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
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
h-alt-ascii (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
hm-alt-ascii (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
hms-alt-ascii (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
hmsv-alt-ascii (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
hmv-alt-ascii (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
every -alt-ascii twin outputs the exact same text as its regular sibling in these examples β they're matching, bestie, it's giving coordinated outfits π
ms (mm:ss) π
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
yes ms here is minutes:seconds, not milliseconds. do not come for me, that's literally what the data says π
y (y) β
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM (MM/y) β¨
yM (MM/yyyy)
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10
yMEd (E, dd/MM/y)
2008-02-05T18:30:30 = Tue, 05/02/2008
1995-12-22T09:05:02 = Fri, 22/12/1995
-0010-09-15T04:44:23 = Sat, 15/09/-10
yMMM (MMM y)
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dec 1995
-0010-09-15T04:44:23 = Sept -10
yMMMEd (E, dd MMM y)
2008-02-05T18:30:30 = Tue, 05 Feb 2008
1995-12-22T09:05:02 = Fri, 22 Dec 1995
-0010-09-15T04:44:23 = Sat, 15 Sept -10
yMMMM (MMMM y)
2008-02-05T18:30:30 = February 2008
1995-12-22T09:05:02 = December 1995
-0010-09-15T04:44:23 = September -10
yMMMd (dd MMM y)
2008-02-05T18:30:30 = 05 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sept -10
yMd (dd/MM/y)
2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
yQQQ (QQQ y)
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
yQQQQ (QQQQ y)
2008-02-05T18:30:30 = 1st quarter 2008
1995-12-22T09:05:02 = 4th quarter 1995
-0010-09-15T04:44:23 = 3rd quarter -10
yw-count-one ('week' w 'of' Y)
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
yw-count-other ('week' w 'of' Y)
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 πΈ
okay so this bit is short but it's lowkey doing the most for your formatting sanity:
- Prefers 24 hour time? β Yes π no AM/PM nonsense here, we're clocking 18:30 like grown-ups
- Local first day of the week β 7 (Sunday) π so yes, the week starts on Sunday, bestie
π¦ Strftime Patterns π¦
ohhh these are the classic strftime-style ones, the OGs you already know and love. same handles, same energy:
%c (%a %b %e %H:%M:%S %Y) β date time format
2008-02-05T18:30:30 = Tue Feb 5 18:30:30 2008
1995-12-22T09:05:02 = Fri Dec 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat Sept 15 04:44:23 -10
like, the whole entire date and time in one go. main character pattern fr π₯
%x (%m/%d/%y) β date format
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10
just the date, lil two-digit year energy β
%X (%H:%M:%S) β time format
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
time only, 24-hour, no notes πβ¨
π SUPPORT π
- See
DateTime::Locale. that's it, that's the whole support section β go read the parent class if you wanna know how the sausage gets made π«Ά
ngl if you made it this far you're officially a DateTime::Locale::en_MT scholar. Malta date formatting: ate, no cap π
and that's a wrap, bestie π this page is perl v5.42.0 business, dated 2024-12-12, filed under DateTim...e::en_MT(3) β go format some dates in Maltese style and slay πβ¨
π¦ 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