DateTim...:jmc_TZ(3)

✨ NAME ✨

DateTime::Locale::jmc_TZ β€” locale data examples for the Machame Tanzania (jmc-TZ) locale πŸ¦‹

(hey bestie, this one lives in section 3 of the User Contributed Perl Documentation, so if you're citing it in a paper or whatever, that's the flex πŸ’…)


🌸 DESCRIPTION 🌸

okay so this pod file is literally just a showcase β€” it contains examples of the locale data available for the Machame Tanzania locale. that's it, that's the description. it's giving "look at my data, isn't she gorgeous" ✨


πŸŽ€ Days πŸŽ€

Wide (format)

Jumatatuu
Jumanne
Jumatanu
Alhamisi
Ijumaa
Jumamosi
Jumapilyi

Abbreviated (format)

Jtt
Jnn
Jtn
Alh
Iju
Jmo
Jpi

Narrow (format)

J
J
J
A
I
J
J

Wide (stand-alone)

Jumatatuu
Jumanne
Jumatanu
Alhamisi
Ijumaa
Jumamosi
Jumapilyi

Abbreviated (stand-alone)

Jtt
Jnn
Jtn
Alh
Iju
Jmo
Jpi

Narrow (stand-alone)

J
J
J
A
I
J
J
ngl the narrow days having three Js in a row and then two more is SO chaotic, but bestie they're all different days β€” that's just how it is πŸ’€

πŸ¦‹ Months πŸ¦‹

Wide (format)

Januari
Februari
Machi
Aprilyi
Mei
Junyi
Julyai
Agusti
Septemba
Oktoba
Novemba
Desemba

Abbreviated (format)

Jan
Feb
Mac
Apr
Mei
Jun
Jul
Ago
Sep
Okt
Nov
Des

Narrow (format)

J
F
M
A
M
J
J
A
S
O
N
D

Wide (stand-alone)

Januari
Februari
Machi
Aprilyi
Mei
Junyi
Julyai
Agusti
Septemba
Oktoba
Novemba
Desemba

Abbreviated (stand-alone)

Jan
Feb
Mac
Apr
Mei
Jun
Jul
Ago
Sep
Okt
Nov
Des

Narrow (stand-alone)

J
F
M
A
M
J
J
A
S
O
N
D

πŸ’œ Quarters πŸ’œ

Wide (format)

Robo 1
Robo 2
Robo 3
Robo 4

Abbreviated (format)

R1
R2
R3
R4

Narrow (format)

1
2
3
4

Wide (stand-alone)

Robo 1
Robo 2
Robo 3
Robo 4

Abbreviated (stand-alone)

R1
R2
R3
R4

Narrow (stand-alone)

1
2
3
4

⭐ Eras ⭐

Wide (format)

Kabla ya Kristu
Baada ya Kristu

Abbreviated (format)

KK
BK

Narrow (format)

KK
BK

πŸ’– Date Formats πŸ’–

Full

2008-02-05T18:30:30 = Jumanne, 5 Februari 2008
1995-12-22T09:05:02 = Ijumaa, 22 Desemba 1995
-0010-09-15T04:44:23 = Jumamosi, 15 Septemba -10

Long

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

Medium

2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Des 1995
-0010-09-15T04:44:23 = 15 Sep -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

🧚 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
lowkey iconic that Full and Long are literally twins here. no notes. πŸ”₯

πŸ“ Datetime Formats πŸ“

Full

2008-02-05T18:30:30 = Jumanne, 5 Februari 2008 18:30:30 UTC
1995-12-22T09:05:02 = Ijumaa, 22 Desemba 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Jumamosi, 15 Septemba -10 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 Februari 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 Desemba 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Septemba -10 04:44:23 UTC

Medium

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 Sep -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 bestie this is the big one β€” every single named format, with its pattern right there in the heading, and the same three timestamps every time: 2008-02-05T18:30:30, 1995-12-22T09:05:02, and -0010-09-15T04:44:23. don't skip a single one, they all ate πŸ’…

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

Ehms (E h:mm:ss a)

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

Gy (G y)

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

GyMMM (G y MMM)

2008-02-05T18:30:30 = BK 2008 Feb
1995-12-22T09:05:02 = BK 1995 Des
-0010-09-15T04:44:23 = KK -10 Sep

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = BK 2008 Feb 5, Jnn
1995-12-22T09:05:02 = BK 1995 Des 22, Iju
-0010-09-15T04:44:23 = KK -10 Sep 15, Jmo

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = BK 2008 Feb 5
1995-12-22T09:05:02 = BK 1995 Des 22
-0010-09-15T04:44:23 = KK -10 Sep 15

GyMd (GGGGG y-MM-dd)

2008-02-05T18:30:30 = BK 2008-02-05
1995-12-22T09:05:02 = BK 1995-12-22
-0010-09-15T04:44:23 = KK -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 = Feb
1995-12-22T09:05:02 = Des
-0010-09-15T04:44:23 = Sep

MMMEd (E, MMM d)

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

MMMMEd (E, MMMM d)

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

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

2008-02-05T18:30:30 = week 1 of Februari
1995-12-22T09:05:02 = week 3 of Desemba
-0010-09-15T04:44:23 = week 2 of Septemba

MMMMd (MMMM d)

2008-02-05T18:30:30 = Februari 5
1995-12-22T09:05:02 = Desemba 22
-0010-09-15T04:44:23 = Septemba 15

MMMd (MMM d)

2008-02-05T18:30:30 = Feb 5
1995-12-22T09:05:02 = Des 22
-0010-09-15T04:44:23 = Sep 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 kyiukonyi
1995-12-22T09:05:02 = 9 utuko
-0010-09-15T04:44:23 = 4 utuko

hm (h:mm a)

2008-02-05T18:30:30 = 6:30 kyiukonyi
1995-12-22T09:05:02 = 9:05 utuko
-0010-09-15T04:44:23 = 4:44 utuko

hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 kyiukonyi
1995-12-22T09:05:02 = 9:05:02 utuko
-0010-09-15T04:44:23 = 4:44:23 utuko

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 kyiukonyi UTC
1995-12-22T09:05:02 = 9:05:02 utuko UTC
-0010-09-15T04:44:23 = 4:44:23 utuko UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 kyiukonyi UTC
1995-12-22T09:05:02 = 9:05 utuko UTC
-0010-09-15T04:44:23 = 4:44 utuko 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 = Feb 2008
1995-12-22T09:05:02 = Des 1995
-0010-09-15T04:44:23 = Sep -10

yMMMEd (E, MMM d, y)

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

yMMMM (MMMM y)

2008-02-05T18:30:30 = Februari 2008
1995-12-22T09:05:02 = Desemba 1995
-0010-09-15T04:44:23 = Septemba -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 Sep 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 = R1 2008
1995-12-22T09:05:02 = R4 1995
-0010-09-15T04:44:23 = R3 -10

yQQQQ (QQQQ y)

…and that's exactly where part 1 runs out bestie 😭 the yQQQQ examples are waiting for you in part 2, so don't go anywhere πŸ’–

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

see how it's giving "Robo" + a number + the year? that's the whole pattern, bestie, no notes 🫢

  • yw-count-other with the literal pattern ('week' w 'of' Y) β€” the week number, then the word of, then the year. Obsessed with how literal this is πŸ’…
          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 ✨

the little settings that don't fit anywhere else but lowkey change everything:

  • Prefers 24 hour time? β€” Yes (she said yes, and she meant it πŸ••)
  • Local first day of the week β€” 1 (Jumatatuu) (that's the locale's own word for it β€” keep the spelling exactly as it is, iykyk πŸ™ˆ)

πŸŽ€ Strftime Patterns πŸŽ€

okay this is the good part β€” the shortcut patterns and exactly what they spit out. Every one of these is %-something, and the parenthetical next to it shows what it expands to. Fr fr, the examples are the whole personality of the locale πŸ¦‹

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

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

full date and full time in one go β€” the main character of patterns πŸ‘‘

🌸 %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

just the date, slashed up, two-digit year and all ✨

🌈 %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

and just the time β€” hours, minutes, seconds, no drama πŸ’€


πŸ’– SUPPORT πŸ’–

need more? go look at DateTime::Locale β€” that's the whole vibe check for locale stuff, and she ate 🫢


and that's the page, bestie! πŸŽ‰ this little gem is from perl v5.42.0, dated 2024-12-12 β€” go forth and format your timestamps with confidence, you absolute icon πŸ’…β­

πŸ“¦ where this page comes from