DateTim...e::tn_ZA(3)

πŸ’… DateTime::Locale::tn_ZA(3) β€” Tswana South Africa locale data, bestie πŸ’…

okay so this is a User Contributed Perl Documentation page, and the manual name up top is DateTim...e::tn_ZA(3) (truncated header realness, iykyk), but the module we're talking about is DateTime::Locale::tn_ZA. It's literally locale data examples for the Tswana South Africa (tn-ZA) locale. 🌈


✨ NAME ✨

DateTime::Locale::tn_ZA β€” locale data examples for the Tswana South Africa (tn-ZA) locale. That's the assignment, periodt. πŸ’…

🌸 DESCRIPTION 🌸

This pod file is literally a little showcase of examples for the locale data available in the Tswana South Africa locale. It's giving reference-sheet energy, and we're going through all of it. 🫢


πŸ¦‹ Days πŸ¦‹

okay so first up, the days of the week. There are wide, abbreviated, and narrow versions, in both format and stand-alone flavors. Slay. πŸ’…

✨ Wide (format) ✨

Mosupologo
Labobedi
Laboraro
Labone
Labotlhano
Matlhatso
Tshipi

✨ Abbreviated (format) ✨

Mos
Labb
Labr
Labn
Labt
Mat
Tsh

✨ Narrow (format) ✨

M
T
W
T
F
S
S

✨ Wide (stand-alone) ✨

Mosupologo
Labobedi
Laboraro
Labone
Labotlhano
Matlhatso
Tshipi

✨ Abbreviated (stand-alone) ✨

Mos
Labb
Labr
Labn
Labt
Mat
Tsh

✨ Narrow (stand-alone) ✨

M
T
W
T
F
S
S

🌸 Months 🌸

next up, months. Same deal: wide, abbreviated, narrow, and both format and stand-alone. The narrow months are literally just numbers and honestly? iconic. πŸ”₯

✨ Wide (format) ✨

Ferikgong
Tlhakole
Mopitlo
Moranang
Motsheganang
Seetebosigo
Phukwi
Phatwe
Lwetse
Diphalane
Ngwanatsele
Sedimonthole

✨ Abbreviated (format) ✨

Fer
Tlh
Mop
Mor
Mot
See
Phu
Pha
Lwe
Dip
Ngw
Sed

✨ Narrow (format) ✨

1
2
3
4
5
6
7
8
9
10
11
12

✨ Wide (stand-alone) ✨

Ferikgong
Tlhakole
Mopitlo
Moranang
Motsheganang
Seetebosigo
Phukwi
Phatwe
Lwetse
Diphalane
Ngwanatsele
Sedimonthole

✨ Abbreviated (stand-alone) ✨

Fer
Tlh
Mop
Mor
Mot
See
Phu
Pha
Lwe
Dip
Ngw
Sed

✨ Narrow (stand-alone) ✨

1
2
3
4
5
6
7
8
9
10
11
12

πŸŽ€ Quarters πŸŽ€

quarters are here too, bestie. wide, abbreviated, narrow, format, stand-alone β€” the whole vibe check. πŸŽ€

✨ Wide (format) ✨

Sephatlho sa ntlha sa ngwaga
Sephatlho sa bobedi
Sephatlho sa boraro
Sephatlho sa bone

✨ Abbreviated (format) ✨

Q1
Q2
Q3
Q4

✨ Narrow (format) ✨

1
2
3
4

✨ Wide (stand-alone) ✨

Sephatlho sa ntlha sa ngwaga
Sephatlho sa bobedi
Sephatlho sa boraro
Sephatlho sa bone

✨ Abbreviated (stand-alone) ✨

Q1
Q2
Q3
Q4

✨ Narrow (stand-alone) ✨

1
2
3
4

🌟 Eras 🌟

eras! wide, abbreviated, narrow. No stand-alone subsection here, just the format ones. 🌟

✨ Wide (format) ✨

Pele ga tsalo ya Morena Jeso
Morago ga Leso la Morena Jeso

✨ Abbreviated (format) ✨

BC
AD

✨ Narrow (format) ✨

BC
AD

πŸ’– Date Formats πŸ’–

okay now we're getting into the date format examples. Full, Long, Medium, Short β€” all the lengths, all the slay. πŸ’–

✨ Full ✨

2008-02-05T18:30:30 = 2008 Tlhakole 5, Labobedi
1995-12-22T09:05:02 = 1995 Sedimonthole 22, Labotlhano
-0010-09-15T04:44:23 = -10 Lwetse 15, Matlhatso

✨ Long ✨

2008-02-05T18:30:30 = 2008 Tlhakole 5
1995-12-22T09:05:02 = 1995 Sedimonthole 22
-0010-09-15T04:44:23 = -10 Lwetse 15

✨ Medium ✨

2008-02-05T18:30:30 = 2008 Tlh 5
1995-12-22T09:05:02 = 1995 Sed 22
-0010-09-15T04:44:23 = -10 Lwe 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 ⏰

time formats, bestie. Full and Long both have UTC; Medium and Short are out here without it. Not me noticing the difference. 😭

✨ 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

πŸ¦‹ Datetime Formats πŸ¦‹

datetime formats are date plus time, and they are serving. Full, Long, Medium, Short β€” yes ma'am. πŸ¦‹

✨ Full ✨

2008-02-05T18:30:30 = 2008 Tlhakole 5, Labobedi ka 18:30:30 UTC
1995-12-22T09:05:02 = 1995 Sedimonthole 22, Labotlhano ka 09:05:02 UTC
-0010-09-15T04:44:23 = -10 Lwetse 15, Matlhatso ka 04:44:23 UTC

✨ Long ✨

2008-02-05T18:30:30 = 2008 Tlhakole 5 ka 18:30:30 UTC
1995-12-22T09:05:02 = 1995 Sedimonthole 22 ka 09:05:02 UTC
-0010-09-15T04:44:23 = -10 Lwetse 15 ka 04:44:23 UTC

✨ Medium ✨

2008-02-05T18:30:30 = 2008 Tlh 5, 18:30:30
1995-12-22T09:05:02 = 1995 Sed 22, 09:05:02
-0010-09-15T04:44:23 = -10 Lwe 15, 04:44:23

✨ Short ✨

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

πŸ‘‘ Available Formats πŸ‘‘

okay this is the big one β€” every available format key, its pattern in parentheses, and whatever example lines are shown. Do not skip, bestie, it's all iconic. πŸ‘‘

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 = Labb
1995-12-22T09:05:02 = Labt
-0010-09-15T04:44:23 = Mat

EBhm (E h:mm B)

2008-02-05T18:30:30 = Labb 6:30 B
1995-12-22T09:05:02 = Labt 9:05 B
-0010-09-15T04:44:23 = Mat 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = Labb 6:30:30 B
1995-12-22T09:05:02 = Labt 9:05:02 B
-0010-09-15T04:44:23 = Mat 4:44:23 B

EHm (E HH:mm)

2008-02-05T18:30:30 = Labb 18:30
1995-12-22T09:05:02 = Labt 09:05
-0010-09-15T04:44:23 = Mat 04:44

EHms (E HH:mm:ss)

2008-02-05T18:30:30 = Labb 18:30:30
1995-12-22T09:05:02 = Labt 09:05:02
-0010-09-15T04:44:23 = Mat 04:44:23

Ed (d, E)

2008-02-05T18:30:30 = 5, Labb
1995-12-22T09:05:02 = 22, Labt
-0010-09-15T04:44:23 = 15, Mat

Ehm (E h:mm a)

2008-02-05T18:30:30 = Labb 6:30 PM
1995-12-22T09:05:02 = Labt 9:05 AM
-0010-09-15T04:44:23 = Mat 4:44 AM

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = Labb 6:30:30 PM
1995-12-22T09:05:02 = Labt 9:05:02 AM
-0010-09-15T04:44:23 = Mat 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 Tlh
1995-12-22T09:05:02 = AD 1995 Sed
-0010-09-15T04:44:23 = BC -10 Lwe

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = AD 2008 Tlh 5, Labb
1995-12-22T09:05:02 = AD 1995 Sed 22, Labt
-0010-09-15T04:44:23 = BC -10 Lwe 15, Mat

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = AD 2008 Tlh 5
1995-12-22T09:05:02 = AD 1995 Sed 22
-0010-09-15T04:44:23 = BC -10 Lwe 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 (MM-dd, E)

2008-02-05T18:30:30 = 02-05, Labb
1995-12-22T09:05:02 = 12-22, Labt
-0010-09-15T04:44:23 = 09-15, Mat

MMM (LLL)

2008-02-05T18:30:30 = Tlh
1995-12-22T09:05:02 = Sed
-0010-09-15T04:44:23 = Lwe

MMMEd (MMM d, E)

2008-02-05T18:30:30 = Tlh 5, Labb
1995-12-22T09:05:02 = Sed 22, Labt
-0010-09-15T04:44:23 = Lwe 15, Mat

MMMMW-count-one ('beke' 'ya' W 'ya' MMM)

2008-02-05T18:30:30 = beke ya 1 ya Tlh
1995-12-22T09:05:02 = beke ya 3 ya Sed
-0010-09-15T04:44:23 = beke ya 2 ya Lwe

MMMMW-count-other ('beke' 'ya' W 'ya' MMM)

2008-02-05T18:30:30 = beke ya 1 ya Tlh
1995-12-22T09:05:02 = beke ya 3 ya Sed
-0010-09-15T04:44:23 = beke ya 2 ya Lwe

MMMMd (MMMM d)

2008-02-05T18:30:30 = Tlhakole 5
1995-12-22T09:05:02 = Sedimonthole 22
-0010-09-15T04:44:23 = Lwetse 15

MMMd (MMM d)

2008-02-05T18:30:30 = Tlh 5
1995-12-22T09:05:02 = Sed 22
-0010-09-15T04:44:23 = Lwe 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, Labb
1995-12-22T09:05:02 = 1995-12-22, Labt
-0010-09-15T04:44:23 = -10-09-15, Mat

yMMM (y MMM)

2008-02-05T18:30:30 = 2008 Tlh
1995-12-22T09:05:02 = 1995 Sed
-0010-09-15T04:44:23 = -10 Lwe

yMMMEd (y MMM d, E)

2008-02-05T18:30:30 = 2008 Tlh 5, Labb
1995-12-22T09:05:02 = 1995 Sed 22, Labt
-0010-09-15T04:44:23 = -10 Lwe 15, Mat

yMMMM (y MMMM)

2008-02-05T18:30:30 = 2008 Tlhakole
1995-12-22T09:05:02 = 1995 Sedimonthole
-0010-09-15T04:44:23 = -10 Lwetse

yMMMd (y MMM d)

2008-02-05T18:30:30 = 2008 Tlh 5
1995-12-22T09:05:02 = 1995 Sed 22
-0010-09-15T04:44:23 = -10 Lwe 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)

2008-02-05T18:30:30 = 2008 Sephatlho sa ntlha sa ngwaga
1995-12-22T09:05:02 = 1995 Sephatlho sa bone
-0010-09-15T04:44:23 = -10 Sephatlho sa boraro

yw-count-one ('beke' w 'ya' Y)

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

yw-count-other ('beke' w 'ya' Y)

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

πŸŽ€ Miscellaneous πŸŽ€

  • Prefers 24 hour time? Yes
  • Local first day of the week: 7 (Tshipi)

✨ Strftime Patterns ✨

%c (%a %-e %b %Y %T %Z) β€” date time format

2008-02-05T18:30:30 = Labb %-e Tlh 2008 18:30:30 UTC
1995-12-22T09:05:02 = Labt %-e Sed 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Mat %-e Lwe -10 04:44:23 UTC

%x (%d/%m/%Y) β€” date format

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

%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

🫢 SUPPORT 🫢

See DateTime::Locale.


That’s the whole vibe check, bestie πŸ’– this page is from perl v5.42.0, dated 2024-12-12 β€” iconic, no cap βœ¨πŸ¦‹

πŸ“¦ where this page comes from