DateTim...ale::lg(3)
π DateTime::Locale::lg(3) π
okay bestie, welcome to the DateTime::Locale::lg glow-up β¨ this is a page from the User Contributed Perl Documentation and it's basically a whole photo album of locale data β every example value your girl could ever need, no cap. Date, time, month names, day names, quarters, eras, the whole aesthetic. Let's get into it π
πΈ NAME πΈ
DateTime::Locale::lg β locale data examples for the Ganda (lg) locale. That's it, that's the name, and yes the manpage header totally calls it DateTime::Locale::lg(3) too π
π¦ DESCRIPTION π¦
This pod file contains examples of the locale data available for the Ganda locale.
That's the official tea β and everything below is the receipts: every format, every pattern, every sample timestamp, laid out so you can see exactly what the Ganda locale does. Obsessed, honestly π
β¨ Days β¨
Wide (format)
the full-length day names, glamorous and unhurried π§
Balaza
Lwakubiri
Lwakusatu
Lwakuna
Lwakutaano
Lwamukaaga
Sabbiiti
Abbreviated (format)
shortened versions, still cute, still on brand β¨
Bal
Lw2
Lw3
Lw4
Lw5
Lw6
Sab
Narrow (format)
single letters only, minimalism is the moment π
B
L
L
L
L
L
S
Wide (stand-alone)
same wide names, but chilling on their own β no format context needed π
Balaza
Lwakubiri
Lwakusatu
Lwakuna
Lwakutaano
Lwamukaaga
Sabbiiti
Abbreviated (stand-alone)
the abbreviations, standing alone, living their best life π¦
Bal
Lw2
Lw3
Lw4
Lw5
Lw6
Sab
Narrow (stand-alone)
the tiny letters, also standing alone, also iconic πΈ
B
L
L
L
L
L
S
π Months π
Wide (format)
the full month names β say them out loud, they're gorgeous π«Ά
Janwaliyo
Febwaliyo
Marisi
Apuli
Maayi
Juuni
Julaayi
Agusito
Sebutemba
Okitobba
Novemba
Desemba
Abbreviated (format)
three letters and out the door, efficient queen behavior π
Jan
Feb
Mar
Apu
Maa
Juu
Jul
Agu
Seb
Oki
Nov
Des
Narrow (format)
one letter each, maximum mystery, some of them literally repeat and that's fine π
J
F
M
A
M
J
J
A
S
O
N
D
Wide (stand-alone)
full month names, stand-alone edition π
Janwaliyo
Febwaliyo
Marisi
Apuli
Maayi
Juuni
Julaayi
Agusito
Sebutemba
Okitobba
Novemba
Desemba
Abbreviated (stand-alone)
yeah they're identical to the format ones, no cap, I'm not hiding anything π
Jan
Feb
Mar
Apu
Maa
Juu
Jul
Agu
Seb
Oki
Nov
Des
Narrow (stand-alone)
same one-letter energy, still valid, still serving β
J
F
M
A
M
J
J
A
S
O
N
D
π Quarters π
Wide (format)
Kyakuna means quarter β so these are literally quarter 1 through quarter 4, spelled all the way out π
Kyakuna 1
Kyakuna 2
Kyakuna 3
Kyakuna 4
Abbreviated (format)
Kya plus the digit, and we move on β¨
Kya1
Kya2
Kya3
Kya4
Narrow (format)
just the number. zero notes. π¦
1
2
3
4
Wide (stand-alone)
wide quarter names, standing alone, unbothered πΈ
Kyakuna 1
Kyakuna 2
Kyakuna 3
Kyakuna 4
Abbreviated (stand-alone)
abbreviated and stand-alone, the combo meal π
Kya1
Kya2
Kya3
Kya4
Narrow (stand-alone)
digits, alone, thriving π
1
2
3
4
π§ Eras π§
Wide (format)
the long-form era names. fun fact: BC and AD below are exactly the same in the wide/abbreviated/narrow format lists for this locale, but the wide text itself is fully spelled out in Ganda π₯
Kulisito nga tannaza
Bukya Kulisito Azaal
Abbreviated (format)
BC
AD
Narrow (format)
BC
AD
heads up bestie: the original lists eras under format only β there's no stand-alone era block on this page, so don't come for me π
π Date Formats π
Full
the maximalist date. day name AND full month AND year, we're doing the most and it's working β¨
2008-02-05T18:30:30 = Lwakubiri, 5 Febwaliyo 2008
1995-12-22T09:05:02 = Lwakutaano, 22 Desemba 1995
-0010-09-15T04:44:23 = Lwamukaaga, 15 Sebuttemba -10
Long
day name said bye, full month stayed π
2008-02-05T18:30:30 = 5 Febwaliyo 2008
1995-12-22T09:05:02 = 22 Desemba 1995
-0010-09-15T04:44:23 = 15 Sebuttemba -10
Medium
and now the month is abbreviating, we love a subtle downgrade π
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Des 1995
-0010-09-15T04:44:23 = 15 Seb -10
Short
all numbers, no vibes, just facts πΈ
2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
β Time Formats β
Full
UTC is riding along for the whole trip π¦
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
identical output to Full here β no drama, that's just how it renders π
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
seconds stay, the timezone said see ya π§
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
down to hours and minutes, minimal, gorgeous β¨
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
π Datetime Formats π
Full
date AND time, all the way wide, this is the main character format π
2008-02-05T18:30:30 = Lwakubiri, 5 Febwaliyo 2008 18:30:30 UTC
1995-12-22T09:05:02 = Lwakutaano, 22 Desemba 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Lwamukaaga, 15 Sebuttemba -10 04:44:23 UTC
Long
day name left the chat, everything else stayed π
2008-02-05T18:30:30 = 5 Febwaliyo 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 Desemba 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Sebuttemba -10 04:44:23 UTC
Medium
month abbreviates, timezone dips, still cute πΈ
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 Seb -10 04:44:23
Short
numbers only, zero mercy, very efficient π
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
π Available Formats π
okay this is the big one, the whole menu π«Ά each format has a name, its pattern in parentheses, and three worked examples using the same three timestamps every time: 2008-02-05T18:30:30, 1995-12-22T09:05:02, and -0010-09-15T04:44:23. Buckle up.
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 = Lw2
1995-12-22T09:05:02 = Lw5
-0010-09-15T04:44:23 = Lw6
EBhm (E h:mm B)
2008-02-05T18:30:30 = Lw2 6:30 B
1995-12-22T09:05:02 = Lw5 9:05 B
-0010-09-15T04:44:23 = Lw6 4:44 B
EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = Lw2 6:30:30 B
1995-12-22T09:05:02 = Lw5 9:05:02 B
-0010-09-15T04:44:23 = Lw6 4:44:23 B
EHm (E HH:mm)
2008-02-05T18:30:30 = Lw2 18:30
1995-12-22T09:05:02 = Lw5 09:05
-0010-09-15T04:44:23 = Lw6 04:44
EHms (E HH:mm:ss)
2008-02-05T18:30:30 = Lw2 18:30:30
1995-12-22T09:05:02 = Lw5 09:05:02
-0010-09-15T04:44:23 = Lw6 04:44:23
Ed (d, E)
2008-02-05T18:30:30 = 5, Lw2
1995-12-22T09:05:02 = 22, Lw5
-0010-09-15T04:44:23 = 15, Lw6
Ehm (E h:mm a)
2008-02-05T18:30:30 = Lw2 6:30 PM
1995-12-22T09:05:02 = Lw5 9:05 AM
-0010-09-15T04:44:23 = Lw6 4:44 AM
Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = Lw2 6:30:30 PM
1995-12-22T09:05:02 = Lw5 9:05:02 AM
-0010-09-15T04:44:23 = Lw6 4:44:23 AM
Gy (G y)
2008-02-05T18:30:30 = AD 2008
1995-12-22T09:05:02 = AD 1995
-0010-09-15T04:44:23 = BC -10
GyMMM (G y MMM)
2008-02-05T18:30:30 = AD 2008 Feb
1995-12-22T09:05:02 = AD 1995 Des
-0010-09-15T04:44:23 = BC -10 Seb
GyMMMEd (G y MMM d, E)
2008-02-05T18:30:30 = AD 2008 Feb 5, Lw2
1995-12-22T09:05:02 = AD 1995 Des 22, Lw5
-0010-09-15T04:44:23 = BC -10 Seb 15, Lw6
GyMMMd (G y MMM d)
2008-02-05T18:30:30 = AD 2008 Feb 5
1995-12-22T09:05:02 = AD 1995 Des 22
-0010-09-15T04:44:23 = BC -10 Seb 15
GyMd (GGGGG y-MM-dd)
2008-02-05T18:30:30 = AD 2008-02-05
1995-12-22T09:05:02 = AD 1995-12-22
-0010-09-15T04:44:23 = BC -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, M/d)
2008-02-05T18:30:30 = Lw2, 2/5
1995-12-22T09:05:02 = Lw5, 12/22
-0010-09-15T04:44:23 = Lw6, 9/15
MMM (LLL)
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Des
-0010-09-15T04:44:23 = Seb
MMMEd (E, MMM d)
2008-02-05T18:30:30 = Lw2, Feb 5
1995-12-22T09:05:02 = Lw5, Des 22
-0010-09-15T04:44:23 = Lw6, Seb 15
MMMMEd (E, MMMM d)
2008-02-05T18:30:30 = Lw2, Febwaliyo 5
1995-12-22T09:05:02 = Lw5, Desemba 22
-0010-09-15T04:44:23 = Lw6, Sebuttemba 15
MMMMW-count-other ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of Febwaliyo
1995-12-22T09:05:02 = week 3 of Desemba
-0010-09-15T04:44:23 = week 2 of Sebuttemba
note the literal quotes in that pattern, bestie β'week'and'of'are quoted text in the pattern itself, not my editorializing π
MMMMd (MMMM d)
2008-02-05T18:30:30 = Febwaliyo 5
1995-12-22T09:05:02 = Desemba 22
-0010-09-15T04:44:23 = Sebuttemba 15
MMMd (MMM d)
2008-02-05T18:30:30 = Feb 5
1995-12-22T09:05:02 = Des 22
-0010-09-15T04:44:23 = Seb 15
Md (M/d)
2008-02-05T18:30:30 = 2/5
1995-12-22T09:05:02 = 12/22
-0010-09-15T04:44:23 = 9/15
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
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, M/d/y)
2008-02-05T18:30:30 = Lw2, 2/5/2008
1995-12-22T09:05:02 = Lw5, 12/22/1995
-0010-09-15T04:44:23 = Lw6, 9/15/-10
yMMM (MMM y)
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Des 1995
-0010-09-15T04:44:23 = Seb -10
yMMMEd (E, MMM d, y)
2008-02-05T18:30:30 = Lw2, Feb 5, 2008
1995-12-22T09:05:02 = Lw5, Des 22, 1995
-0010-09-15T04:44:23 = Lw6, Seb 15, -10
yMMMM (MMMM y)
2008-02-05T18:30:30 = Febwaliyo 2008
1995-12-22T09:05:02 = Desemba 1995
-0010-09-15T04:44:23 = Sebuttemba -10
yMMMd (y MMM d)
2008-02-05T18:30:30 = 2008 Feb 5
1995-12-22T09:05:02 = 1995 Des 22
-0010-09-15T04:44:23 = -10 Seb 15
yMd (y-MM-dd)
2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15
yQQQ (QQQ y)
2008-02-05T18:30:30 = Kya1 2008
1995-12-22T09:05:02 = Kya4 1995
-0010-09-15T04:44:23 = Kya3 -10
yQQQQ (QQQQ y)
β¦and the last of that run lands like this, bestie:
2008-02-05T18:30:30 = Kyakuna 1 2008
1995-12-22T09:05:02 = Kyakuna 4 1995
-0010-09-15T04:44:23 = Kyakuna 3 -10
yw-count-other β pattern <italic>'week' w 'of' Y</italic>, and it's giving very "what week are we in, queen" energy:
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 π
Two lil quick facts about this locale, and yes they're both main characters:
- Prefers 24 hour time? Yes π no confusing am/pm nonsense here, we're clocking it straight.
- Local first day of the week 1 (Balaza) β bestie starts the week on
1, and1is Balaza ποΈβ¨
πΈ Strftime Patterns πΈ
okay this is the part where the locale gets to flex its built-in date formats π«Ά these are the classic strftime shortcuts, already pre-styled for you:
π¦ %c (%a %b %e %H:%M:%S %Y) β date time format
the full date-and-time combo meal π:
2008-02-05T18:30:30 = Lw2 Feb 5 18:30:30 2008
1995-12-22T09:05:02 = Lw5 Des 22 09:05:02 1995
-0010-09-15T04:44:23 = Lw6 Seb 15 04:44:23 -10
(notice Feb is Feb but December is Des and September is Seb β iconic, no notes π)
π %x (%m/%d/%y) β date format
just the date, cute and short, month first:
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 (%H:%M:%S) β time format
just the time, 24 hour, zero drama:
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
lowkey notice how-0010-09-15T04:44:23keeps printing as09/15/10and-10at the end of the%cline π that's just how the year renders here, bestie, don't @ me.
π«Ά SUPPORT π«Ά
Need more? Go see DateTime::Locale, fr fr β that's the one ππ
and that's the whole page, bestie, we ate πβ¨ this one's from perl v5.42.0, dated 2024-12-12 β go forth and format dates beautifully, mwah π
ππ
π¦ 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