DateTim...e::tn_BW(3)

πŸ‘‘ DateTim...e::tn_BW(3)

okay so quick vibe check first: this page is User Contributed Perl Documentation, meaning it's part of that big pile of Perl manpages everybody contributes to β€” and bestie, it's literally the locale data showcase for the DateTime::Locale::tn_BW locale πŸ’… no cap.


✨ NAME ✨

DateTime::Locale::tn_BW β€” Locale data examples for the Tswana Botswana (tn-BW) locale πŸ¦‹


🌸 DESCRIPTION 🌸

This pod file is literally a whole gallery of examples of the locale data that's available for the Tswana Botswana locale. Think of it as a show-and-tell: every list, every format, every example string, all right here πŸŽ€

🌈 Days

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

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

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

Wide (format)

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

Abbreviated (format)

BC
AD

Narrow (format)

BC
AD

πŸ“… Date Formats

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

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

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 πŸ’–

this is the big one bestie, all the named formats β€” each heading shows the format plus its pattern in parens, then three sample datetimes so you can see exactly what it spits out πŸ”₯

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)

yQQQ (y QQQ)

okay so this one gives you the quarter as a number with the year in front, no cap ✨

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

yQQQQ (y QQQQ)

and the long-form quarter? that's the spelled-out vibe πŸ’…

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)

week-of-year energy, singular flavour πŸŽ€

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)

same deal, plural flavour β€” and yes bestie, the examples are literally identical, that's not a typo, that's just how this locale rolls 🫢

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. clock supremacy, no AM/PM nonsense here ⏰
  • Local first day of the week β€” 7 (Tshipi) 🌸

πŸ’œ Strftime Patterns πŸ’œ

the classic strftime-style escapes but make it Tswana, iykyk 🌈

%c (%a %b %e %H:%M:%S %Y) β€” date time format

the whole moment in one go, date and time, main character energy πŸ‘‘

2008-02-05T18:30:30 = Labb Tlh  5 18:30:30 2008
1995-12-22T09:05:02 = Labt Sed 22 09:05:02 1995
-0010-09-15T04:44:23 = Mat Lwe 15 04:44:23 -10
notice that double space in Labb Tlh 5? that's %e doing its space-padded thing, it's giving intentional, don't touch it πŸ™ˆ

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

just the date, month first, slashes in between πŸ“

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

clock o'clock, 24-hour, clean clean 🧚

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? go peek at DateTime::Locale β€” that's where the whole locale family lives, literally your one stop shop πŸ’–


and that's a wrap bestie!! πŸŽ‰ this page came straight out of perl v5.42.0, dated 2024-12-12, filed under DateTim...e::tn_BW(3) β€” go forth and format those dates slayfully πŸ’…βœ¨

πŸ“¦ where this page comes from