DateTim...e::id_ID(3)
๐ฆ DATE TIME :: LOCALE :: ID_ID โ the perl one ๐ซถ
ok bestie, so this is a User Contributed Perl Documentation page for DateTime::Locale::id_ID โ that's the locale data for the Indonesian Indonesia (id-ID) locale ๐ It's literally a big ol' pile of examples showing what the locale data looks like, and honestly? it's giving reference sheet, and we are obsessed.
โจ NAME โจ
DateTime::Locale::id_ID โ locale data examples for the Indonesian Indonesia (id-ID) locale ๐
๐ DESCRIPTION ๐
so this pod file is literally a showcase โ it's packed with examples of the locale data that's available for the Indonesian Indonesia locale ๐ฎ๐ฉโจ Think of it as a vibe check for every single format string this locale can spit out.
๐ธ Days ๐ธ
Wide (format) ๐
Senin
Selasa
Rabu
Kamis
Jumat
Sabtu
Minggu
Abbreviated (format) โจ
Sen
Sel
Rab
Kam
Jum
Sab
Min
Narrow (format) ๐
S
S
R
K
J
S
M
Wide (stand-alone) ๐ฆ
Senin
Selasa
Rabu
Kamis
Jumat
Sabtu
Minggu
Abbreviated (stand-alone) ๐ธ
Sen
Sel
Rab
Kam
Jum
Sab
Min
Narrow (stand-alone) ๐ซ
S
S
R
K
J
S
M
ngl the narrow ones look like a captcha and that's iconic of them ๐ but fr fr that's just how narrow day names roll.
๐ Months ๐
Wide (format) ๐
Januari
Februari
Maret
April
Mei
Juni
Juli
Agustus
September
Oktober
November
Desember
Abbreviated (format) โจ
Jan
Feb
Mar
Apr
Mei
Jun
Jul
Agu
Sep
Okt
Nov
Des
Narrow (format) ๐
J
F
M
A
M
J
J
A
S
O
N
D
Wide (stand-alone) ๐ฆ
Januari
Februari
Maret
April
Mei
Juni
Juli
Agustus
September
Oktober
November
Desember
Abbreviated (stand-alone) ๐ธ
Jan
Feb
Mar
Apr
Mei
Jun
Jul
Agu
Sep
Okt
Nov
Des
Narrow (stand-alone) ๐ซ
J
F
M
A
M
J
J
A
S
O
N
D
ok so the narrow months have so many duplicates (Mthree times,Jthree times,Atwice) and yes that's lowkey chaotic but it's exactly what the data says, bestie, don't come for me ๐
๐ง Quarters ๐ง
Wide (format) ๐
Kuartal ke-1
Kuartal ke-2
Kuartal ke-3
Kuartal ke-4
Abbreviated (format) โจ
K1
K2
K3
K4
Narrow (format) ๐
1
2
3
4
Wide (stand-alone) ๐ฆ
Kuartal ke-1
Kuartal ke-2
Kuartal ke-3
Kuartal ke-4
Abbreviated (stand-alone) ๐ธ
K1
K2
K3
K4
Narrow (stand-alone) ๐ซ
1
2
3
4
๐ Eras ๐
Wide (format) ๐
Sebelum Masehi
Masehi
Abbreviated (format) โจ
SM
M
Narrow (format) ๐
SM
M
๐ Date Formats ๐
Full ๐ฅ
2008-02-05T18:30:30 = Selasa, 05 Februari 2008
1995-12-22T09:05:02 = Jumat, 22 Desember 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 Desember 1995
-0010-09-15T04:44:23 = 15 September -10
Medium ๐
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Des 1995
-0010-09-15T04:44:23 = 15 Sep -10
Short ๐ซ
2008-02-05T18:30:30 = 05/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 = 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
yes bestie, Full and Long are literally identical here โ that's not me being lazy, that's just the data being the data ๐
๐ Datetime Formats ๐
Full ๐ฅ
2008-02-05T18:30:30 = Selasa, 05 Februari 2008 18.30.30 UTC
1995-12-22T09:05:02 = Jumat, 22 Desember 1995 09.05.02 UTC
-0010-09-15T04:44:23 = Sabtu, 15 September -10 04.44.23 UTC
Long โญ
2008-02-05T18:30:30 = 5 Februari 2008 18.30.30 UTC
1995-12-22T09:05:02 = 22 Desember 1995 09.05.02 UTC
-0010-09-15T04:44:23 = 15 September -10 04.44.23 UTC
Medium ๐
2008-02-05T18:30:30 = 5 Feb 2008 18.30.30
1995-12-22T09:05:02 = 22 Des 1995 09.05.02
-0010-09-15T04:44:23 = 15 Sep -10 04.44.23
Short ๐ซ
2008-02-05T18:30:30 = 05/02/08 18.30
1995-12-22T09:05:02 = 22/12/95 09.05
-0010-09-15T04:44:23 = 15/09/-10 04.44
๐ Available Formats ๐
ok this next bit is the motherlode โ every named format this locale ships with, plus three sample datetimes so you can see it in action. Buckle up, bestie ๐ซถ
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 (E, d) ๐
2008-02-05T18:30:30 = Sel, 5
1995-12-22T09:05:02 = Jum, 22
-0010-09-15T04:44:23 = Sab, 15
Ehm (E h.mm a) ๐
2008-02-05T18:30:30 = Sel 6.30 PM
1995-12-22T09:05:02 = Jum 9.05 AM
-0010-09-15T04:44:23 = Sab 4.44 AM
Ehms (E h.mm.ss a) ๐
2008-02-05T18:30:30 = Sel 6.30.30 PM
1995-12-22T09:05:02 = Jum 9.05.02 AM
-0010-09-15T04:44:23 = Sab 4.44.23 AM
Gy (y G) ๐
2008-02-05T18:30:30 = 2008 M
1995-12-22T09:05:02 = 1995 M
-0010-09-15T04:44:23 = -10 SM
GyMMM (MMM y G) โจ
2008-02-05T18:30:30 = Feb 2008 M
1995-12-22T09:05:02 = Des 1995 M
-0010-09-15T04:44:23 = Sep -10 SM
GyMMMEd (E, d MMM y G) ๐
2008-02-05T18:30:30 = Sel, 5 Feb 2008 M
1995-12-22T09:05:02 = Jum, 22 Des 1995 M
-0010-09-15T04:44:23 = Sab, 15 Sep -10 SM
GyMMMd (d MMM y G) ๐ฆ
2008-02-05T18:30:30 = 5 Feb 2008 M
1995-12-22T09:05:02 = 22 Des 1995 M
-0010-09-15T04:44:23 = 15 Sep -10 SM
GyMd (d/M/y GGGGG) ๐ธ
2008-02-05T18:30:30 = 5/2/2008 M
1995-12-22T09:05:02 = 22/12/1995 M
-0010-09-15T04:44:23 = 15/9/-10 SM
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 = Des
-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 Des
-0010-09-15T04:44:23 = Sab, 15 Sep
MMMMEd (E, d MMMM) ๐ฆ
2008-02-05T18:30:30 = Sel, 5 Februari
1995-12-22T09:05:02 = Jum, 22 Desember
-0010-09-15T04:44:23 = Sab, 15 September
MMMMW-count-other ('minggu' 'ke'-W MMMM) ๐ธ
2008-02-05T18:30:30 = minggu ke-1 Februari
1995-12-22T09:05:02 = minggu ke-3 Desember
-0010-09-15T04:44:23 = minggu ke-2 September
MMMMd (d MMMM) ๐ซ
2008-02-05T18:30:30 = 5 Februari
1995-12-22T09:05:02 = 22 Desember
-0010-09-15T04:44:23 = 15 September
MMMd (d MMM) ๐ฅ
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Des
-0010-09-15T04:44:23 = 15 Sep
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
notice the extra period after the seconds inhmsvbeforePM/AM? yeah that's in the pattern, don't touch it, it's canon ๐
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 (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
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 = Des 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 Des 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 = Desember 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 Des 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 = K1 2008
1995-12-22T09:05:02 = K4 1995
-0010-09-15T04:44:23 = K3 -10
yQQQQ (QQQQ y) ๐
2008-02-05T18:30:30 = Kuartal ke-1 2008
1995-12-22T09:05:02 = Kuartal ke-4 1995
-0010-09-15T04:44:23 = Kuartal ke-3 -10
Okay and that's the quarters situation ๐ like, first quarter, fourth quarter, third quarter of the year negative ten โ it all just works, no cap.
โจ yw-count-other ('minggu' 'ke'-w Y)
"week-of-year, count 'other'" โ i.e. which week number we're on. Look:
2008-02-05T18:30:30 = minggu ke-6 2008
1995-12-22T09:05:02 = minggu ke-51 1995
-0010-09-15T04:44:23 = minggu ke-37 -10
So minggu ke-6 = week 6, minggu ke-51 = week 51, minggu ke-37 = week 37 ๐ the -w in the pattern name is literally just "week number" and Y is the year, bestie, that's the whole vibe.
๐ธ Miscellaneous ๐ธ
Some quick facts, rapid fire ๐
- Prefers 24 hour time? Yes ๐ฅ
- Local first day of the week:
7(Minggu) โ so the week starts on Sunday here, main character energy for Minggu ๐
๐ฆ Strftime Patterns ๐ฆ
These are the classic strftime-style pattern strings, and yes, they each come with receipts (example outputs) so you can vibe-check them yourself ๐
โญ %c (%a %d %b %Y %r) - date time format
2008-02-05T18:30:30 = Sel 05 Feb 2008 06:30:30 PM
1995-12-22T09:05:02 = Jum 22 Des 1995 09:05:02 AM
-0010-09-15T04:44:23 = Sab 15 Sep -10 04:44:23 AM
Full date and time, all in one โ the deluxe combo meal of format strings ๐โจ
โญ %x (%d/%m/%y) - date format
2008-02-05T18:30:30 = 05/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/10
Day/month/year, in that order โ not the US way, the iconic way ๐
โญ %X (%T) - 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
Just the time, 24-hour style, clean and unbothered ๐
๐ SUPPORT ๐
See DateTime::Locale. That's it, that's the support section โ go read the parent class, it's got everything, iykyk ๐ซถ
Fr fr though: if something here looks cursed, DateTime::Locale is where the actual machinery lives, so start there before you come for this page ๐ญ
And that's a wrap, bestie! ๐ This little beauty shipped with perl v5.42.0 and got stamped 2024-12-12 โ so if your copy says otherwise, you're on a different version, no drama ๐ Thanks for reading the whole id_ID locale tea, go format some dates 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