DateTim...e::ms_MY(3)

🌸 NAME 🌸

okay so this is DateTime::Locale::ms_MY β€” the locale data examples for the Malay Malaysia (ms-MY) locale πŸ’… that's the whole vibe, bestie. It's a User Contributed Perl Documentation page, and it's basically a giant show-and-tell of every date and time string this locale can spit out.


✨ DESCRIPTION ✨

This pod file is literally a lookbook πŸ“– β€” it contains examples of the locale data available for the Malay Malaysia locale. No cap, that's it. It's data examples, so every list below is just the actual strings this locale uses. Read it like a menu, not a rulebook πŸ“

πŸŽ€ Days

Wide (format)

  • Isnin
  • Selasa
  • Rabu
  • Khamis
  • Jumaat
  • Sabtu
  • Ahad

Abbreviated (format)

  • Isn
  • Sel
  • Rab
  • Kha
  • Jum
  • Sab
  • Ahd

Narrow (format)

  • I
  • S
  • R
  • K
  • J
  • S
  • A

Wide (stand-alone)

  • Isnin
  • Selasa
  • Rabu
  • Khamis
  • Jumaat
  • Sabtu
  • Ahad

Abbreviated (stand-alone)

  • Isn
  • Sel
  • Rab
  • Kha
  • Jum
  • Sab
  • Ahd

Narrow (stand-alone)

  • I
  • S
  • R
  • K
  • J
  • S
  • A
yeah bestie the narrow ones are giving single-letter chaos πŸ’€ S shows up twice and J shows up twice. that's not me being sloppy, that's literally what's in the file.

🌸 Months

Wide (format)

  • Januari
  • Februari
  • Mac
  • April
  • Mei
  • Jun
  • Julai
  • Ogos
  • September
  • Oktober
  • November
  • Disember

Abbreviated (format)

  • Jan
  • Feb
  • Mac
  • Apr
  • Mei
  • Jun
  • Jul
  • Ogo
  • Sep
  • Okt
  • Nov
  • Dis

Narrow (format)

  • J
  • F
  • M
  • A
  • M
  • J
  • J
  • O
  • S
  • O
  • N
  • D

Wide (stand-alone)

  • Januari
  • Februari
  • Mac
  • April
  • Mei
  • Jun
  • Julai
  • Ogos
  • September
  • Oktober
  • November
  • Disember

Abbreviated (stand-alone)

  • Jan
  • Feb
  • Mac
  • Apr
  • Mei
  • Jun
  • Jul
  • Ogo
  • Sep
  • Okt
  • Nov
  • Dis

Narrow (stand-alone)

  • J
  • F
  • M
  • A
  • M
  • J
  • J
  • O
  • S
  • O
  • N
  • D

πŸ¦‹ Quarters

Wide (format)

  • Suku pertama
  • Suku Ke-2
  • Suku Ke-3
  • Suku Ke-4

Abbreviated (format)

  • S1
  • S2
  • S3
  • S4

Narrow (format)

  • 1
  • 2
  • 3
  • 4

Wide (stand-alone)

  • Suku pertama
  • Suku Ke-2
  • Suku Ke-3
  • Suku Ke-4

Abbreviated (stand-alone)

  • S1
  • S2
  • S3
  • S4

Narrow (stand-alone)

  • 1
  • 2
  • 3
  • 4

πŸ’œ Eras

Wide (format)

  • S.M.
  • TM

Abbreviated (format)

  • S.M.
  • TM

Narrow (format)

  • S.M.
  • TM
heads up: eras only get the three format flavours here β€” there is genuinely no stand-alone entry for them in this file πŸ‘‘ so don't come for me, I'm just reporting what's there.

πŸŽ€ Date Formats

Full

2008-02-05T18:30:30 = Selasa, 5 Februari 2008
1995-12-22T09:05:02 = Jumaat, 22 Disember 1995
-0010-09-15T04:44:23 = Sabtu, 15 September -10

Long

2008-02-05T18:30:30 = 5 Februari 2008
1995-12-22T09:05:02 = 22 Disember 1995
-0010-09-15T04:44:23 = 15 September -10

Medium

2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dis 1995
-0010-09-15T04:44:23 = 15 Sep -10

Short

2008-02-05T18:30:30 = 5/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/-10

⭐ Time Formats

Full

2008-02-05T18:30:30 = 6:30:30 PTG UTC
1995-12-22T09:05:02 = 9:05:02 PG UTC
-0010-09-15T04:44:23 = 4:44:23 PG UTC

Long

2008-02-05T18:30:30 = 6:30:30 PTG UTC
1995-12-22T09:05:02 = 9:05:02 PG UTC
-0010-09-15T04:44:23 = 4:44:23 PG UTC

Medium

2008-02-05T18:30:30 = 6:30:30 PTG
1995-12-22T09:05:02 = 9:05:02 PG
-0010-09-15T04:44:23 = 4:44:23 PG

Short

2008-02-05T18:30:30 = 6:30 PTG
1995-12-22T09:05:02 = 9:05 PG
-0010-09-15T04:44:23 = 4:44 PG
PTG = the afternoon girlies, PG = the morning girlies β˜€οΈ and yeah, Long and Full are serving the exact same output here β€” that's the data, not a typo I introduced 🫢

🌈 Datetime Formats

Full

2008-02-05T18:30:30 = Selasa, 5 Februari 2008 6:30:30 PTG UTC
1995-12-22T09:05:02 = Jumaat, 22 Disember 1995 9:05:02 PG UTC
-0010-09-15T04:44:23 = Sabtu, 15 September -10 4:44:23 PG UTC

Long

2008-02-05T18:30:30 = 5 Februari 2008 6:30:30 PTG UTC
1995-12-22T09:05:02 = 22 Disember 1995 9:05:02 PG UTC
-0010-09-15T04:44:23 = 15 September -10 4:44:23 PG UTC

Medium

2008-02-05T18:30:30 = 5 Feb 2008, 6:30:30 PTG
1995-12-22T09:05:02 = 22 Dis 1995, 9:05:02 PG
-0010-09-15T04:44:23 = 15 Sep -10, 4:44:23 PG

Short

2008-02-05T18:30:30 = 5/02/08, 6:30 PTG
1995-12-22T09:05:02 = 22/12/95, 9:05 PG
-0010-09-15T04:44:23 = 15/09/-10, 4:44 PG

πŸ‘‘ Available Formats

okay this is the big one, the main character section πŸ’… every format name, the pattern it maps to in parens, and the three sample stamps. strap in.

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 = Sel
1995-12-22T09:05:02 = Jum
-0010-09-15T04:44:23 = Sab

EBhm (E h:mm B)

2008-02-05T18:30:30 = Sel 6:30 B
1995-12-22T09:05:02 = Jum 9:05 B
-0010-09-15T04:44:23 = Sab 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = Sel 6:30:30 B
1995-12-22T09:05:02 = Jum 9:05:02 B
-0010-09-15T04:44:23 = Sab 4:44:23 B

EHm (E HH:mm)

2008-02-05T18:30:30 = Sel 18:30
1995-12-22T09:05:02 = Jum 09:05
-0010-09-15T04:44:23 = Sab 04:44

EHms (E HH:mm:ss)

2008-02-05T18:30:30 = Sel 18:30:30
1995-12-22T09:05:02 = Jum 09:05:02
-0010-09-15T04:44:23 = Sab 04:44:23

Ed (d E)

2008-02-05T18:30:30 = 5 Sel
1995-12-22T09:05:02 = 22 Jum
-0010-09-15T04:44:23 = 15 Sab

Ehm (E h:mm a)

2008-02-05T18:30:30 = Sel 6:30 PTG
1995-12-22T09:05:02 = Jum 9:05 PG
-0010-09-15T04:44:23 = Sab 4:44 PG

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = Sel 6:30:30 PTG
1995-12-22T09:05:02 = Jum 9:05:02 PG
-0010-09-15T04:44:23 = Sab 4:44:23 PG

Gy (y G)

2008-02-05T18:30:30 = 2008 TM
1995-12-22T09:05:02 = 1995 TM
-0010-09-15T04:44:23 = -10 S.M.

GyMMM (MMM y G)

2008-02-05T18:30:30 = Feb 2008 TM
1995-12-22T09:05:02 = Dis 1995 TM
-0010-09-15T04:44:23 = Sep -10 S.M.

GyMMMEd (E, d MMM y G)

2008-02-05T18:30:30 = Sel, 5 Feb 2008 TM
1995-12-22T09:05:02 = Jum, 22 Dis 1995 TM
-0010-09-15T04:44:23 = Sab, 15 Sep -10 S.M.

GyMMMd (d MMM y G)

2008-02-05T18:30:30 = 5 Feb 2008 TM
1995-12-22T09:05:02 = 22 Dis 1995 TM
-0010-09-15T04:44:23 = 15 Sep -10 S.M.

GyMd (GGGGG y-MM-dd)

2008-02-05T18:30:30 = TM 2008-02-05
1995-12-22T09:05:02 = TM 1995-12-22
-0010-09-15T04:44:23 = S.M. -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 (L)

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 = Sel, 5-2
1995-12-22T09:05:02 = Jum, 22-12
-0010-09-15T04:44:23 = Sab, 15-9

MMM (LLL)

2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dis
-0010-09-15T04:44:23 = Sep

MMMEd (E, d MMM)

2008-02-05T18:30:30 = Sel, 5 Feb
1995-12-22T09:05:02 = Jum, 22 Dis
-0010-09-15T04:44:23 = Sab, 15 Sep

MMMMW-count-other ('minggu' W 'daripada' MMMM)

2008-02-05T18:30:30 = minggu 1 daripada Februari
1995-12-22T09:05:02 = minggu 3 daripada Disember
-0010-09-15T04:44:23 = minggu 2 daripada September
this one is the week-of-month flex πŸ—“οΈ and note the -count-other suffix and those single quotes around 'minggu' and 'daripada' β€” literally part of the pattern name, don't strip them.

MMMMd (d MMMM)

2008-02-05T18:30:30 = 5 Februari
1995-12-22T09:05:02 = 22 Disember
-0010-09-15T04:44:23 = 15 September

MMMd (d MMM)

2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dis
-0010-09-15T04:44:23 = 15 Sep

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 PTG
1995-12-22T09:05:02 = 9 PG
-0010-09-15T04:44:23 = 4 PG

hm (h:mm a)

2008-02-05T18:30:30 = 6:30 PTG
1995-12-22T09:05:02 = 9:05 PG
-0010-09-15T04:44:23 = 4:44 PG

hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 PTG
1995-12-22T09:05:02 = 9:05:02 PG
-0010-09-15T04:44:23 = 4:44:23 PG

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 PTG UTC
1995-12-22T09:05:02 = 9:05:02 PG UTC
-0010-09-15T04:44:23 = 4:44:23 PG UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 PTG UTC
1995-12-22T09:05:02 = 9:05 PG UTC
-0010-09-15T04:44:23 = 4:44 PG UTC

ms (mm:ss)

2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05: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
not me staring at 9--10 😭 that double dash is real, it's the month 9 then the year -10, do not "fix" it.

yMEd (E, d/M/y)

2008-02-05T18:30:30 = Sel, 5/2/2008
1995-12-22T09:05:02 = Jum, 22/12/1995
-0010-09-15T04:44:23 = Sab, 15/9/-10

yMMM (MMM y)

2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dis 1995
-0010-09-15T04:44:23 = Sep -10

yMMMEd (E, d MMM y)

2008-02-05T18:30:30 = Sel, 5 Feb 2008
1995-12-22T09:05:02 = Jum, 22 Dis 1995
-0010-09-15T04:44:23 = Sab, 15 Sep -10

yMMMM (MMMM y)

2008-02-05T18:30:30 = Februari 2008
1995-12-22T09:05:02 = Disember 1995
-0010-09-15T04:44:23 = September -10

yMMMd (d MMM y)

2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dis 1995
-0010-09-15T04:44:23 = 15 Sep -10

yMd (d/M/y)

2008-02-05T18:30:30 = 5/2/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/9/-10

yQQQ (QQQ y)

2008-02-05T18:30:30 = S1 2008
1995-12-22T09:05:02 = S4 1995
-0010-09-15T04:44:23 = S3 -10

yQQQQ (QQQQ y)

…and we're right at the edge of the page, bestie β€” yQQQQ is up next and the rest of the list keeps rolling 🫢

Picking right back up with the week-count one, no skipped beats:

yw-count-other ('minggu' w 'daripada' Y) is up next, and the examples are literally:

2008-02-05T18:30:30 = minggu 6 daripada 2008
1995-12-22T09:05:02 = minggu 51 daripada 1995
-0010-09-15T04:44:23 = minggu 37 daripada -10

πŸŽ€ Miscellaneous πŸŽ€

Okay, the lil miscellaneous corner is giving quick-fire facts:

  • Prefers 24 hour time? No 😌
  • Local first day of the week 1 (Isnin)

⭐ Strftime Patterns ⭐

These are the strftime patterns, bestieβ€”the format-string squad:

  • %c (%A %d %b %Y %I:%M:%S %p) β€” date time format
2008-02-05T18:30:30 = Selasa 05 Feb 2008 06:30:30 PTG
1995-12-22T09:05:02 = Jumaat 22 Dis 1995 09:05:02 PG
-0010-09-15T04:44:23 = Sabtu 15 Sep -10 04:44:23 PG
  • %x (%A %d %b %Y) β€” date format
2008-02-05T18:30:30 = Selasa 05 Feb 2008
1995-12-22T09:05:02 = Jumaat 22 Dis 1995
-0010-09-15T04:44:23 = Sabtu 15 Sep -10
  • %X (%I:%M:%S %p %Z) β€” time format
2008-02-05T18:30:30 = 06:30:30 PTG UTC
1995-12-22T09:05:02 = 09:05:02 PG UTC
-0010-09-15T04:44:23 = 04:44:23 PG UTC

🫢 SUPPORT 🫢

See DateTime::Locale. That's the whole support momentβ€”short, sweet, and iconic ✨


And that's a wrap, bestie πŸ’… This page is DateTim...e::ms_MY(3), from perl v5.42.0, dated 2024-12-12β€”periodt, go format some dates πŸŽ€πŸ¦‹πŸ”₯

πŸ“¦ where this page comes from