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 yes T and S show 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's Sept and not Sep β€” 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, and J all in there, plus two Ms and two As. 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 how 05/02/2008 is day-first β€” day/month/year, the way that the rest of the world does it. also peep 15/09/-10 keeping 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 how GyMd keeps it slim β€” 5/2/2008 with no leading zeros, unlike the padded dd/MM crew 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-one and count-other and 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