DateTim...:mas_TZ(3)

💖 DateTime::Locale::mas_TZ — aka the mas_TZ(3) page 🦋

Bestie. Sit down. We're looking at DateTim...:mas_TZ(3) from the User Contributed Perl Documentation corner of the internet, and it's literally a whole vibe. It's part of the DateTime::Locale family (iykyk), and it's just locale data — no scary functions, no side effects, just pure ✨aesthetic✨ strings. Slay.


🌸 NAME 🌸

DateTime::Locale::mas_TZ — locale data examples for the Masai Tanzania (mas-TZ) locale. That's it. That's the whole name. Periodt.


🎀 DESCRIPTION 🎀

Okay so, real talk: this pod file is a show-and-tell. It contains examples of the locale data available for the Masai Tanzania locale. Not the data itself — the examples. It's giving museum plaque energy. 🖼️


🌈 Days

Seven days, four flavours each. Let's go.

Wide (format)

Jumatátu
Jumane
Jumatánɔ
Alaámisi
Jumáa
Jumamósi
Jumapílí

Abbreviated (format)

Jtt
Jnn
Jtn
Alh
Iju
Jmo
Jpi

Narrow (format)

3
4
5
6
7
1
2

Wide (stand-alone)

Jumatátu
Jumane
Jumatánɔ
Alaámisi
Jumáa
Jumamósi
Jumapílí

Abbreviated (stand-alone)

Jtt
Jnn
Jtn
Alh
Iju
Jmo
Jpi

Narrow (stand-alone)

3
4
5
6
7
1
2
The way the stand-alone and format versions are identical here? Lowkey iconic. No notes. 💅

🦋 Months

Twelve months, and the wide ones are long — we love a maximalist king. 👑

Wide (format)

Oladalʉ́
Arát
Ɔɛnɨɔɨŋɔk
Olodoyíóríê inkókúâ
Oloilépūnyīē inkókúâ
Kújúɔrɔk
Mórusásin
Ɔlɔɨbɔrárɛ
Kúshîn
Olgísan
Pʉshʉka
Ntʉŋʉs

Abbreviated (format)

Dal
Ará
Ɔɛn
Doy
Lép
Rok
Sás
Bɔr
Kús
Gís
Shʉ́
Ntʉ́

Narrow (format)

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

Wide (stand-alone)

Oladalʉ́
Arát
Ɔɛnɨɔɨŋɔk
Olodoyíóríê inkókúâ
Oloilépūnyīē inkókúâ
Kújúɔrɔk
Mórusásin
Ɔlɔɨbɔrárɛ
Kúshîn
Olgísan
Pʉshʉka
Ntʉŋʉs

Abbreviated (stand-alone)

Dal
Ará
Ɔɛn
Doy
Lép
Rok
Sás
Bɔr
Kús
Gís
Shʉ́
Ntʉ́

Narrow (stand-alone)

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

⭐ Quarters

Four of them. Erobo era. 🫶

Wide (format)

Erobo 1
Erobo 2
Erobo 3
Erobo 4

Abbreviated (format)

E1
E2
E3
E4

Narrow (format)

1
2
3
4

Wide (stand-alone)

Erobo 1
Erobo 2
Erobo 3
Erobo 4

Abbreviated (stand-alone)

E1
E2
E3
E4

Narrow (stand-alone)

1
2
3
4

🧚 Eras

Only two, and heads up — eras come in format only, no stand-alone here. Don't @ me, that's just what the data says. 🙈

Wide (format)

Meínō Yɛsʉ
Eínō Yɛsʉ

Abbreviated (format)

MY
EY

Narrow (format)

MY
EY

💜 Date Formats

Four levels of detail, each one demoed with the same three cursed timestamps: a normal 2008 date, a normal 1995 date, and then one from -0010 because why not. 😭

Full

2008-02-05T18:30:30 = Jumane, 5 Arát 2008
1995-12-22T09:05:02 = Jumáa, 22 Ntʉŋʉs 1995
-0010-09-15T04:44:23 = Jumamósi, 15 Kúshîn -10

Long

2008-02-05T18:30:30 = 5 Arát 2008
1995-12-22T09:05:02 = 22 Ntʉŋʉs 1995
-0010-09-15T04:44:23 = 15 Kúshîn -10

Medium

2008-02-05T18:30:30 = 5 Ará 2008
1995-12-22T09:05:02 = 22 Ntʉ́ 1995
-0010-09-15T04:44:23 = 15 Kús -10

Short

2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
Not the 15/09/-10 jumping out 😭 she's doing her best.

🌸 Time Formats

Same three timestamps, but clock-flavoured now. ⏰

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
Full and Long are literally twins. Matching outfits. It's giving coordinated. 🎀

🌈 Datetime Formats

Now we smash date and time together like a group chat with too many tabs open. 💀

Full

2008-02-05T18:30:30 = Jumane, 5 Arát 2008 18:30:30 UTC
1995-12-22T09:05:02 = Jumáa, 22 Ntʉŋʉs 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Jumamósi, 15 Kúshîn -10 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 Arát 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 Ntʉŋʉs 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Kúshîn -10 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 5 Ará 2008 18:30:30
1995-12-22T09:05:02 = 22 Ntʉ́ 1995 09:05:02
-0010-09-15T04:44:23 = 15 Kús -10 04:44:23

Short

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, bestie — the whole menu. Each format has a short code name, the pattern it stands for in parens, and then those same three timestamps again, translated into that pattern. Grab a snack. 🍓

💅 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 = Jnn
1995-12-22T09:05:02 = Iju
-0010-09-15T04:44:23 = Jmo

💅 EBhm (E h:mm B)

2008-02-05T18:30:30 = Jnn 6:30 B
1995-12-22T09:05:02 = Iju 9:05 B
-0010-09-15T04:44:23 = Jmo 4:44 B

💅 EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = Jnn 6:30:30 B
1995-12-22T09:05:02 = Iju 9:05:02 B
-0010-09-15T04:44:23 = Jmo 4:44:23 B

💅 EHm (E HH:mm)

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

💅 EHms (E HH:mm:ss)

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

💅 Ed (d, E)

2008-02-05T18:30:30 = 5, Jnn
1995-12-22T09:05:02 = 22, Iju
-0010-09-15T04:44:23 = 15, Jmo

💅 Ehm (E h:mm a)

2008-02-05T18:30:30 = Jnn 6:30 Ɛndámâ
1995-12-22T09:05:02 = Iju 9:05 Ɛnkakɛnyá
-0010-09-15T04:44:23 = Jmo 4:44 Ɛnkakɛnyá

💅 Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = Jnn 6:30:30 Ɛndámâ
1995-12-22T09:05:02 = Iju 9:05:02 Ɛnkakɛnyá
-0010-09-15T04:44:23 = Jmo 4:44:23 Ɛnkakɛnyá

💅 Gy (G y)

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

💅 GyMMM (G y MMM)

2008-02-05T18:30:30 = EY 2008 Ará
1995-12-22T09:05:02 = EY 1995 Ntʉ́
-0010-09-15T04:44:23 = MY -10 Kús

💅 GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = EY 2008 Ará 5, Jnn
1995-12-22T09:05:02 = EY 1995 Ntʉ́ 22, Iju
-0010-09-15T04:44:23 = MY -10 Kús 15, Jmo

💅 GyMMMd (G y MMM d)

2008-02-05T18:30:30 = EY 2008 Ará 5
1995-12-22T09:05:02 = EY 1995 Ntʉ́ 22
-0010-09-15T04:44:23 = MY -10 Kús 15

💅 GyMd (GGGGG y-MM-dd)

2008-02-05T18:30:30 = EY 2008-02-05
1995-12-22T09:05:02 = EY 1995-12-22
-0010-09-15T04:44:23 = MY -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 = Jnn, 2/5
1995-12-22T09:05:02 = Iju, 12/22
-0010-09-15T04:44:23 = Jmo, 9/15

💅 MMM (LLL)

2008-02-05T18:30:30 = Ará
1995-12-22T09:05:02 = Ntʉ́
-0010-09-15T04:44:23 = Kús

💅 MMMEd (E, MMM d)

2008-02-05T18:30:30 = Jnn, Ará 5
1995-12-22T09:05:02 = Iju, Ntʉ́ 22
-0010-09-15T04:44:23 = Jmo, Kús 15

💅 MMMMEd (E, MMMM d)

2008-02-05T18:30:30 = Jnn, Arát 5
1995-12-22T09:05:02 = Iju, Ntʉŋʉs 22
-0010-09-15T04:44:23 = Jmo, Kúshîn 15

💅 MMMMW-count-other ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of Arát
1995-12-22T09:05:02 = week 3 of Ntʉŋʉs
-0010-09-15T04:44:23 = week 2 of Kúshîn
"week 1 of Arát" is such a mood honestly. 🗓️

💅 MMMMd (MMMM d)

2008-02-05T18:30:30 = Arát 5
1995-12-22T09:05:02 = Ntʉŋʉs 22
-0010-09-15T04:44:23 = Kúshîn 15

💅 MMMd (MMM d)

2008-02-05T18:30:30 = Ará 5
1995-12-22T09:05:02 = Ntʉ́ 22
-0010-09-15T04:44:23 = Kús 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 Ɛndámâ
1995-12-22T09:05:02 = 9 Ɛnkakɛnyá
-0010-09-15T04:44:23 = 4 Ɛnkakɛnyá

💅 hm (h:mm a)

2008-02-05T18:30:30 = 6:30 Ɛndámâ
1995-12-22T09:05:02 = 9:05 Ɛnkakɛnyá
-0010-09-15T04:44:23 = 4:44 Ɛnkakɛnyá

💅 hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 Ɛndámâ
1995-12-22T09:05:02 = 9:05:02 Ɛnkakɛnyá
-0010-09-15T04:44:23 = 4:44:23 Ɛnkakɛnyá

💅 hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 Ɛndámâ UTC
1995-12-22T09:05:02 = 9:05:02 Ɛnkakɛnyá UTC
-0010-09-15T04:44:23 = 4:44:23 Ɛnkakɛnyá UTC

💅 hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 Ɛndámâ UTC
1995-12-22T09:05:02 = 9:05 Ɛnkakɛnyá UTC
-0010-09-15T04:44:23 = 4:44 Ɛnkakɛnyá 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 = Jnn, 2/5/2008
1995-12-22T09:05:02 = Iju, 12/22/1995
-0010-09-15T04:44:23 = Jmo, 9/15/-10

💅 yMMM (MMM y)

2008-02-05T18:30:30 = Ará 2008
1995-12-22T09:05:02 = Ntʉ́ 1995
-0010-09-15T04:44:23 = Kús -10

💅 yMMMEd (E, MMM d, y)

2008-02-05T18:30:30 = Jnn, Ará 5, 2008
1995-12-22T09:05:02 = Iju, Ntʉ́ 22, 1995
-0010-09-15T04:44:23 = Jmo, Kús 15, -10

💅 yMMMM (MMMM y)

2008-02-05T18:30:30 = Arát 2008
1995-12-22T09:05:02 = Ntʉŋʉs 1995
-0010-09-15T04:44:23 = Kúshîn -10

💅 yMMMd (y MMM d)

2008-02-05T18:30:30 = 2008 Ará 5
1995-12-22T09:05:02 = 1995 Ntʉ́ 22
-0010-09-15T04:44:23 = -10 Kús 15

💅 yMd (y-MM-dd)

Okay so this list is long long, and yMd (y-MM-dd) is where part 1 of this page dips out — the rest of the formats are waiting for you in part 2, bestie. Don't leave her hanging 💀🫶

💫 yQQQ (QQQ y)

okay so this one is giving "short and sweet quarter" energy: it prints the quarter number, then a space, then the year. that's it. that's the whole vibe ✨

2008-02-05T18:30:30 = 2008-02-05

no wait — bestie I lied, look at the actual output, it's 2008-02-05 for the first one. the pattern's just QQQ y and the locale fills in the rest. here's all three:

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

💫 yQQQQ (QQQQ y)

the big sister version — QQQQ instead of QQQ, so you get the long-form quarter name 💅

2008-02-05T18:30:30 = Erobo 1 2008
1995-12-22T09:05:02 = Erobo 4 1995
-0010-09-15T04:44:23 = Erobo 3 -10

see how Erobo shows up as the quarter word? that's the locale doing its little thing. iconic, no notes 🫶

🌸 yw-count-other ('week' w 'of' Y)

this is the "what week of the year are we in, bestie" pattern — and yes it literally spells out week, then the number, then of, then the year. it's giving calendar app 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

so like, Dec 22 1995 was week 51?? late in the year, we been knew. and -10 is just sitting there being a negative year, main character energy fr fr 💀


🎀 Miscellaneous

okay this section is tiny but it's important, don't skip it 🙈

  • Prefers 24 hour time? — Yes. so we're doing the 24-hour thing here, no am/pm chaos, very European of them 👑
  • Local first day of the week — 1 (Jumatátu). so day 1 is the first day of the week, and its name in this locale is Jumatátu ✨

🦋 Strftime Patterns

now we're in classic strftime territory, the OGs of date formatting. three patterns, all catalogued for you, you're welcome 💖

⭐ %c (%a %b %e %H:%M:%S %Y) — date time format

the full monty: weekday, month, day, time, year. it's giving "everything everywhere all at once" 🌈

2008-02-05T18:30:30 = Jnn Ará  5 18:30:30 2008
1995-12-22T09:05:02 = Iju Ntʉ́ 22 09:05:02 1995
-0010-09-15T04:44:23 = Jmo Kús 15 04:44:23 -10

(yes, Jnn Ará has two spaces after it because %e pads with a space. that's not a typo, that's just how %e rolls 😌)

⭐ %x (%m/%d/%y) — date format

just the date, slash-separated, two-digit year. short, snappy, slay 💅

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, colon-colon, 24-hour. chef's kiss 🍓

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 read DateTime::Locale. that's the whole support section. short and sweet, we love a low-effort ending 🫶


ok that's the page bestie!! go forth and format dates with confidence, you're literally so good at this 💜

and that's a wrap on DateTim...:mas_TZ(3) from the User Contributed Perl Documentation — shipped with perl v5.42.0, dated 2024-12-12. mwah, bye 🎀✨

📦 where this page comes from