DateTim...e::st_LS(3)
πΈ NAME πΈ
DateTime::Locale::st_LS β locale data examples for the Southern Sotho Lesotho (st-LS) locale π
(this is the DateTim...e::st_LS(3) page from User Contributed Perl Documentation, and yes the title got a little squished, we're surviving π
)
π¦ DESCRIPTION π¦
Okay so this pod file is literally just a showcase β it's packed with examples of all the locale data you get for the Southern Sotho Lesotho locale. No cap, that's the whole vibe. Grab a snack, part 1 is long. π
π Days π
Wide (format)
Mantaha
Labobedi
Laboraro
Labone
Labohlano
Moqebelo
Sontaha
Abbreviated (format)
Mma
Bed
Rar
Ne
Hla
Moq
Son
Narrow (format)
M
T
W
T
F
S
S
Wide (stand-alone)
Mantaha
Labobedi
Laboraro
Labone
Labohlano
Moqebelo
Sontaha
Abbreviated (stand-alone)
Mma
Bed
Rar
Ne
Hla
Moq
Son
Narrow (stand-alone)
M
T
W
T
F
S
S
πΈ Months πΈ
Wide (format)
Pherekgong
Hlakola
Hlakubele
Mmesa
Motsheanong
Phupjane
Phupu
Phato
Lwetse
Mphalane
Pudungwana
Tshitwe
Abbreviated (format)
Phe
Kol
Ube
Mme
Mot
Jan
Upu
Pha
Leo
Mph
Pun
Tsh
Narrow (format)
1
2
3
4
5
6
7
8
9
10
11
12
Wide (stand-alone)
Pherekgong
Hlakola
Hlakubele
Mmesa
Motsheanong
Phupjane
Phupu
Phato
Lwetse
Mphalane
Pudungwana
Tshitwe
Abbreviated (stand-alone)
Phe
Kol
Ube
Mme
Mot
Jan
Upu
Pha
Leo
Mph
Pun
Tsh
Narrow (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
β¨ Quarters β¨
Wide (format)
Q1
Q2
Q3
Q4
Abbreviated (format)
Q1
Q2
Q3
Q4
Narrow (format)
1
2
3
4
Wide (stand-alone)
Q1
Q2
Q3
Q4
Abbreviated (stand-alone)
Q1
Q2
Q3
Q4
Narrow (stand-alone)
1
2
3
4
π Eras π
Wide (format)
BCE
CE
Abbreviated (format)
BCE
CE
Narrow (format)
BCE
CE
π Date Formats π
Full
2008-02-05T18:30:30 = 2008 Hlakola 5, Labobedi
1995-12-22T09:05:02 = 1995 Tshitwe 22, Labohlano
-0010-09-15T04:44:23 = -10 Lwetse 15, Moqebelo
Long
2008-02-05T18:30:30 = 2008 Hlakola 5
1995-12-22T09:05:02 = 1995 Tshitwe 22
-0010-09-15T04:44:23 = -10 Lwetse 15
Medium
2008-02-05T18:30:30 = 2008 Kol 5
1995-12-22T09:05:02 = 1995 Tsh 22
-0010-09-15T04:44:23 = -10 Leo 15
Short
2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15
β Time Formats β
Full
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
Long
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
Medium
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
Short
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
π«Ά Datetime Formats π«Ά
Full
2008-02-05T18:30:30 = 2008 Hlakola 5, Labobedi 6:30:30 PM UTC
1995-12-22T09:05:02 = 1995 Tshitwe 22, Labohlano 9:05:02 AM UTC
-0010-09-15T04:44:23 = -10 Lwetse 15, Moqebelo 4:44:23 AM UTC
Long
2008-02-05T18:30:30 = 2008 Hlakola 5 6:30:30 PM UTC
1995-12-22T09:05:02 = 1995 Tshitwe 22 9:05:02 AM UTC
-0010-09-15T04:44:23 = -10 Lwetse 15 4:44:23 AM UTC
Medium
2008-02-05T18:30:30 = 2008 Kol 5 6:30:30 PM
1995-12-22T09:05:02 = 1995 Tsh 22 9:05:02 AM
-0010-09-15T04:44:23 = -10 Leo 15 4:44:23 AM
Short
2008-02-05T18:30:30 = 2008-02-05 6:30 PM
1995-12-22T09:05:02 = 1995-12-22 9:05 AM
-0010-09-15T04:44:23 = -10-09-15 4:44 AM
π Available Formats π
Bestie, this is the motherlode β every named format with three sample dates so you can see exactly what it's giving. π₯
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 = Bed
1995-12-22T09:05:02 = Hla
-0010-09-15T04:44:23 = Moq
EBhm (E h:mm B)
2008-02-05T18:30:30 = Bed 6:30 B
1995-12-22T09:05:02 = Hla 9:05 B
-0010-09-15T04:44:23 = Moq 4:44 B
EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = Bed 6:30:30 B
1995-12-22T09:05:02 = Hla 9:05:02 B
-0010-09-15T04:44:23 = Moq 4:44:23 B
EHm (E HH:mm)
2008-02-05T18:30:30 = Bed 18:30
1995-12-22T09:05:02 = Hla 09:05
-0010-09-15T04:44:23 = Moq 04:44
EHms (E HH:mm:ss)
2008-02-05T18:30:30 = Bed 18:30:30
1995-12-22T09:05:02 = Hla 09:05:02
-0010-09-15T04:44:23 = Moq 04:44:23
Ed (d, E)
2008-02-05T18:30:30 = 5, Bed
1995-12-22T09:05:02 = 22, Hla
-0010-09-15T04:44:23 = 15, Moq
Ehm (E h:mm a)
2008-02-05T18:30:30 = Bed 6:30 PM
1995-12-22T09:05:02 = Hla 9:05 AM
-0010-09-15T04:44:23 = Moq 4:44 AM
Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = Bed 6:30:30 PM
1995-12-22T09:05:02 = Hla 9:05:02 AM
-0010-09-15T04:44:23 = Moq 4:44:23 AM
Gy (G y)
2008-02-05T18:30:30 = CE 2008
1995-12-22T09:05:02 = CE 1995
-0010-09-15T04:44:23 = BCE -10
GyMMM (G y MMM)
2008-02-05T18:30:30 = CE 2008 Kol
1995-12-22T09:05:02 = CE 1995 Tsh
-0010-09-15T04:44:23 = BCE -10 Leo
GyMMMEd (G y MMM d, E)
2008-02-05T18:30:30 = CE 2008 Kol 5, Bed
1995-12-22T09:05:02 = CE 1995 Tsh 22, Hla
-0010-09-15T04:44:23 = BCE -10 Leo 15, Moq
GyMMMd (G y MMM d)
2008-02-05T18:30:30 = CE 2008 Kol 5
1995-12-22T09:05:02 = CE 1995 Tsh 22
-0010-09-15T04:44:23 = BCE -10 Leo 15
GyMd (GGGGG y-MM-dd)
2008-02-05T18:30:30 = CE 2008-02-05
1995-12-22T09:05:02 = CE 1995-12-22
-0010-09-15T04:44:23 = BCE -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 (MM-dd, E)
2008-02-05T18:30:30 = 02-05, Bed
1995-12-22T09:05:02 = 12-22, Hla
-0010-09-15T04:44:23 = 09-15, Moq
MMM (LLL)
2008-02-05T18:30:30 = Kol
1995-12-22T09:05:02 = Tsh
-0010-09-15T04:44:23 = Leo
MMMEd (MMM d, E)
2008-02-05T18:30:30 = Kol 5, Bed
1995-12-22T09:05:02 = Tsh 22, Hla
-0010-09-15T04:44:23 = Leo 15, Moq
MMMMW-count-one ('week' W 'of' MMM)
2008-02-05T18:30:30 = week 1 of Kol
1995-12-22T09:05:02 = week 3 of Tsh
-0010-09-15T04:44:23 = week 2 of Leo
MMMMW-count-other ('week' W 'of' MMM)
2008-02-05T18:30:30 = week 1 of Kol
1995-12-22T09:05:02 = week 3 of Tsh
-0010-09-15T04:44:23 = week 2 of Leo
MMMMd (MMMM d)
2008-02-05T18:30:30 = Hlakola 5
1995-12-22T09:05:02 = Tshitwe 22
-0010-09-15T04:44:23 = Lwetse 15
MMMd (MMM d)
2008-02-05T18:30:30 = Kol 5
1995-12-22T09:05:02 = Tsh 22
-0010-09-15T04:44:23 = Leo 15
Md (MM-dd)
2008-02-05T18:30:30 = 02-05
1995-12-22T09:05:02 = 12-22
-0010-09-15T04:44:23 = 09-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 (y-MM)
2008-02-05T18:30:30 = 2008-02
1995-12-22T09:05:02 = 1995-12
-0010-09-15T04:44:23 = -10-09
yMEd (y-MM-dd, E)
2008-02-05T18:30:30 = 2008-02-05, Bed
1995-12-22T09:05:02 = 1995-12-22, Hla
-0010-09-15T04:44:23 = -10-09-15, Moq
yMMM (y MMM)
2008-02-05T18:30:30 = 2008 Kol
1995-12-22T09:05:02 = 1995 Tsh
-0010-09-15T04:44:23 = -10 Leo
yMMMEd (y MMM d, E)
2008-02-05T18:30:30 = 2008 Kol 5, Bed
1995-12-22T09:05:02 = 1995 Tsh 22, Hla
-0010-09-15T04:44:23 = -10 Leo 15, Moq
yMMMM (y MMMM)
2008-02-05T18:30:30 = 2008 Hlakola
1995-12-22T09:05:02 = 1995 Tshitwe
-0010-09-15T04:44:23 = -10 Lwetse
yMMMd (y MMM d)
2008-02-05T18:30:30 = 2008 Kol 5
1995-12-22T09:05:02 = 1995 Tsh 22
-0010-09-15T04:44:23 = -10 Leo 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 (y QQQ)
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
yQQQQ (y QQQQ)
okay bestie, we're back and the pattern parade is still going strong π first up, the tail end of that quarter pattern β the vibes are immaculate:
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
next up is yw-count-other ('week' w 'of' Y) β it's literally the week number of the year, and the examples are giving:
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
quick vibe check on the miscellaneous deets:
- Prefers 24 hour time? β No.
- Local first day of the week β
1(Mantaha).
Strftime Patterns
now the strftime patterns, which are basically the main characters of date formatting π
%c(%a %b %e %H:%M:%S %Y) β date time format
2008-02-05T18:30:30 = Bed Kol 5 18:30:30 2008
1995-12-22T09:05:02 = Hla Tsh 22 09:05:02 1995
-0010-09-15T04:44:23 = Moq Leo 15 04:44:23 -10
%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
%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
SUPPORT
need more? the support section is short and sweet: see DateTime::Locale. π«Ά
and that's a wrap! this icon of a manpage is perl v5.42.0, dated 2024-12-12, and it's the DateTim...e::st_LS(3) page β go off and strftime your heart out, bestie πβ¨
π¦ 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