DateTim...e::ms_SG(3)
β¨ NAME β¨
DateTime::Locale::ms_SG β locale data examples for the Malay Singapore (ms-SG) locale π
(this is the DateTim...e::ms_SG(3) page, bestie, the title just got squished by the terminal)
π¦ DESCRIPTION π¦
Okay so this pod file is literally a whole showcase of the locale data you get for the Malay Singapore locale. Think of it as a lookbook β every example, every format, all of it, right here. No cap. π
πΈ 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
π 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
Lowkey obsessed with the narrow ones all being single letters andMandJshowing up three times each. That's not a bug, that's just how narrow do. π
π§ 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
Yes bestie, all three widths give you the exact same two strings. Iconic behaviour, honestly. π
π 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
PTGis the afternoon vibe andPGis the morning vibe, iykyk ππ
π 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
Notice the comma that shows up in Medium and Short but dips out in Full and Long? That's a whole character arc right there. π
π Available Formats π
Buckle up bestie, this list is long long. Every format name, its pattern in parens, and all three sample lines β coming at you π«
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
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 the double dash in 9--10 π that's year negative ten, bestie, she's just built different.
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 that's exactly where part one dips out bestie β yQQQQ is still mid-sentence, so hold that thought for part 2 π«Άβ¨
yw-count-otherβ takes the literal'minggu' w 'daripada' Y'and gives you which week of the year it is, counting in Malay:
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
π literally the same energy as the one above but phrasing it as "minggu X daripada Y" β week X out of year Y, bestie.
πΈ Miscellaneous πΈ
Okay so the little extra vibes that aren't patterns, just straight-up preferences:
- Prefers 24 hour time? β No π (it's giving 12-hour-clock energy, clock app girlies stay winning)
- Local first day of the week β
7(Ahad) β so the week lowkey starts on Sunday here, not Monday, no cap π
π¦ Strftime Patterns π¦
Now for the classic strftime crew π
these are the shorthand patterns and β bestie listen β the locale fills in what they actually expand to. Sending all three test dates through them so you can see the slay:
%cβ<hotpink>date time format</hotpink>, and it's literally just(%a %b %e %H:%M:%S %Y)underneath:
2008-02-05T18:30:30 = Sel Feb 5 18:30:30 2008
1995-12-22T09:05:02 = Jum Dis 22 09:05:02 1995
-0010-09-15T04:44:23 = Sab Sep 15 04:44:23 -10
%xβ<cyan>date format</cyan>, expanding to(%m/%d/%y):
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10
%Xβ<mint>time format</mint>, expanding to(%H:%M:%S):
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
β Fun detail bestie: yes,2008-02-05really is rendered as02/05/08β month first, then day, then year. The format string is right there in the parens, iykyk π
π SUPPORT π
See DateTime::Locale. That's it, that's the whole support section β it's giving "go ask the locale girlies, they have the answers" π«Ά
and that's a wrap on the page, bestie!! πβ¨ This one was generated by perl v5.42.0 and dated 2024-12-12 β so like, it's been serving accurate time-zone-info realness since before some of us could even read. Obsessed. Go format some dates, you've got this ππ¦πΈ
π¦ 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