DateTim...:zh_Hant(3)

✨ NAME ✨

okay so bestie, this is the DateTime::Locale::zh_Hant page — header says DateTim...:zh_Hant(3), section 3, User Contributed Perl Documentation — and it’s literally all the locale data examples for the Chinese Traditional (zh-Hant) locale. manual name folded in near the top, exactly like we planned 🫶

🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the Chinese Traditional locale. that’s the whole vibe: a big cute reference sheet of every day name, month name, quarter, era, date format, time format, datetime format, and available format. we’re keeping every single example, no cap 💅


💖 Days

Wide (format)

星期一
星期二
星期三
星期四
星期五
星期六
星期日

Abbreviated (format)

週一
週二
週三
週四
週五
週六
週日

Narrow (format)

一
二
三
四
五
六
日

Wide (stand-alone)

星期一
星期二
星期三
星期四
星期五
星期六
星期日

Abbreviated (stand-alone)

週一
週二
週三
週四
週五
週六
週日

Narrow (stand-alone)

一
二
三
四
五
六
日

🦋 Months

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

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

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

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

🎀 Quarters

Wide (format)

第1季
第2季
第3季
第4季

Abbreviated (format)

第1季
第2季
第3季
第4季

Narrow (format)

1
2
3
4

Wide (stand-alone)

第1季
第2季
第3季
第4季

Abbreviated (stand-alone)

第1季
第2季
第3季
第4季

Narrow (stand-alone)

1
2
3
4

🌈 Eras

Wide (format)

西元前
西元

Abbreviated (format)

西元前
西元

Narrow (format)

西元前
西元

🍓 Date Formats

Full

2008-02-05T18:30:30 = 2008年2月5日 星期二
1995-12-22T09:05:02 = 1995年12月22日 星期五
-0010-09-15T04:44:23 = -10年9月15日 星期六

Long

2008-02-05T18:30:30 = 2008年2月5日
1995-12-22T09:05:02 = 1995年12月22日
-0010-09-15T04:44:23 = -10年9月15日

Medium

2008-02-05T18:30:30 = 2008年2月5日
1995-12-22T09:05:02 = 1995年12月22日
-0010-09-15T04:44:23 = -10年9月15日

Short

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

⭐ Time Formats

Full

2008-02-05T18:30:30 = B6:30:30 [UTC]
1995-12-22T09:05:02 = B9:05:02 [UTC]
-0010-09-15T04:44:23 = B4:44:23 [UTC]

Long

2008-02-05T18:30:30 = B6:30:30 [UTC]
1995-12-22T09:05:02 = B9:05:02 [UTC]
-0010-09-15T04:44:23 = B4:44:23 [UTC]

Medium

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

Short

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

🔥 Datetime Formats

Full

2008-02-05T18:30:30 = 2008年2月5日 星期二 B6:30:30 [UTC]
1995-12-22T09:05:02 = 1995年12月22日 星期五 B9:05:02 [UTC]
-0010-09-15T04:44:23 = -10年9月15日 星期六 B4:44:23 [UTC]

Long

2008-02-05T18:30:30 = 2008年2月5日 B6:30:30 [UTC]
1995-12-22T09:05:02 = 1995年12月22日 B9:05:02 [UTC]
-0010-09-15T04:44:23 = -10年9月15日 B4:44:23 [UTC]

Medium

2008-02-05T18:30:30 = 2008年2月5日 B6:30:30
1995-12-22T09:05:02 = 1995年12月22日 B9:05:02
-0010-09-15T04:44:23 = -10年9月15日 B4:44:23

Short

2008-02-05T18:30:30 = 2008/2/5 B6:30
1995-12-22T09:05:02 = 1995/12/22 B9:05
-0010-09-15T04:44:23 = -10/9/15 B4:44

👑 Available Formats

Bh (Bh時)

2008-02-05T18:30:30 = B6時
1995-12-22T09:05:02 = B9時
-0010-09-15T04:44:23 = B4時

Bhm (Bh:mm)

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

Bhms (Bh:mm:ss)

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

E (ccc)

2008-02-05T18:30:30 = 週二
1995-12-22T09:05:02 = 週五
-0010-09-15T04:44:23 = 週六

EBhm (E Bh:mm)

2008-02-05T18:30:30 = 週二 B6:30
1995-12-22T09:05:02 = 週五 B9:05
-0010-09-15T04:44:23 = 週六 B4:44

EBhms (E Bh:mm:ss)

2008-02-05T18:30:30 = 週二 B6:30:30
1995-12-22T09:05:02 = 週五 B9:05:02
-0010-09-15T04:44:23 = 週六 B4:44:23

EHm (E HH:mm)

2008-02-05T18:30:30 = 週二 18:30
1995-12-22T09:05:02 = 週五 09:05
-0010-09-15T04:44:23 = 週六 04:44

EHms (E 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

Ed (d E)

2008-02-05T18:30:30 = 5 週二
1995-12-22T09:05:02 = 22 週五
-0010-09-15T04:44:23 = 15 週六

Ehm (E Bh:mm)

2008-02-05T18:30:30 = 週二 B6:30
1995-12-22T09:05:02 = 週五 B9:05
-0010-09-15T04:44:23 = 週六 B4:44

Ehms (E Bh:mm:ss)

2008-02-05T18:30:30 = 週二 B6:30:30
1995-12-22T09:05:02 = 週五 B9:05:02
-0010-09-15T04:44:23 = 週六 B4:44:23

Gy (Gy年)

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

GyMMM (Gy年M月)

2008-02-05T18:30:30 = 西元2008年2月
1995-12-22T09:05:02 = 西元1995年12月
-0010-09-15T04:44:23 = 西元前-10年9月

GyMMMEd (Gy年M月d日 E)

2008-02-05T18:30:30 = 西元2008年2月5日 週二
1995-12-22T09:05:02 = 西元1995年12月22日 週五
-0010-09-15T04:44:23 = 西元前-10年9月15日 週六

GyMMMd (Gy年M月d日)

2008-02-05T18:30:30 = 西元2008年2月5日
1995-12-22T09:05:02 = 西元1995年12月22日
-0010-09-15T04:44:23 = 西元前-10年9月15日

GyMd (G y/M/d)

2008-02-05T18:30:30 = 西元 2008/2/5
1995-12-22T09:05:02 = 西元 1995/12/22
-0010-09-15T04:44:23 = 西元前 -10/9/15

H (H時)

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

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 (M月)

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

MEd (M/d(E))

2008-02-05T18:30:30 = 2/5(週二)
1995-12-22T09:05:02 = 12/22(週五)
-0010-09-15T04:44:23 = 9/15(週六)

MMM (LLL)

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

MMMEd (M月d日 E)

2008-02-05T18:30:30 = 2月5日 週二
1995-12-22T09:05:02 = 12月22日 週五
-0010-09-15T04:44:23 = 9月15日 週六

MMMMW-count-other (MMMM的第W週)

2008-02-05T18:30:30 = 2月的第1週
1995-12-22T09:05:02 = 12月的第3週
-0010-09-15T04:44:23 = 9月的第2週

MMMMd (M月d日)

2008-02-05T18:30:30 = 2月5日
1995-12-22T09:05:02 = 12月22日
-0010-09-15T04:44:23 = 9月15日

MMMd (M月d日)

2008-02-05T18:30:30 = 2月5日
1995-12-22T09:05:02 = 12月22日
-0010-09-15T04:44:23 = 9月15日

MMdd (MM/dd)

2008-02-05T18:30:30 = 02/05
1995-12-22T09:05:02 = 12/22
-0010-09-15T04:44:23 = 09/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 (Bh時)

2008-02-05T18:30:30 = B6時
1995-12-22T09:05:02 = B9時
-0010-09-15T04:44:23 = B4時

hm (Bh:mm)

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

hms (Bh:mm:ss)

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

hmsv (Bh:mm:ss [v])

2008-02-05T18:30:30 = B6:30:30 [UTC]
1995-12-22T09:05:02 = B9:05:02 [UTC]
-0010-09-15T04:44:23 = B4:44:23 [UTC]

hmv (Bh:mm [v])

2008-02-05T18:30:30 = B6:30 [UTC]
1995-12-22T09:05:02 = B9:05 [UTC]
-0010-09-15T04:44:23 = B4:44 [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/M)

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

yMEEEEd (y年M月d日 EEEE)

2008-02-05T18:30:30 = 2008年2月5日 星期二
1995-12-22T09:05:02 = 1995年12月22日 星期五
-0010-09-15T04:44:23 = -10年9月15日 星期六

yMEd (y/M/d(E))

2008-02-05T18:30:30 = 2008/2/5(週二)
1995-12-22T09:05:02 = 1995/12/22(週五)
-0010-09-15T04:44:23 = -10/9/15(週六)

yMM (y/MM)

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

yMMM (y年M月)

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

yMMMEd (y年M月d日 E)

bestie this is where part 1 stops — the examples for yMMMEd roll into part 2 ✨

yMMMM — pattern y年M月

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

yMMMd — pattern y年M月d日

2008-02-05T18:30:30 = 2008年2月5日
1995-12-22T09:05:02 = 1995年12月22日
-0010-09-15T04:44:23 = -10年9月15日

yMd — pattern y/M/d

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

yQQQ — pattern y年QQQ

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

yQQQQ — pattern y年QQQQ

2008-02-05T18:30:30 = 2008年第1季
1995-12-22T09:05:02 = 1995年第4季
-0010-09-15T04:44:23 = -10年第3季
okay so yes, yQQQ and yQQQQ are literally giving the exact same outputs here 💀 that's just how this locale rolls, not a typo, bestie — don't @ me.

yw-count-other — pattern Y年的第w週

2008-02-05T18:30:30 = 2008年的第6週
1995-12-22T09:05:02 = 1995年的第51週
-0010-09-15T04:44:23 = -10年的第37週

🎀 Miscellaneous 🎀

  • Prefers 24 hour time? — No 🙅‍♀️ (that's a hard no, it's 12-hour girlie hours over here)
  • Local first day of the week — 1 (星期一) — so your week starts on Monday, as the calendar gods intended 👑

🦋 Strftime Patterns 🦋

These are the classic strftime-flavoured ones, and honestly they ate:

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

2008-02-05T18:30:30 = 週二 2月  5 18:30:30 2008
1995-12-22T09:05:02 = 週五 12月 22 09:05:02 1995
-0010-09-15T04:44:23 = 週六 9月 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 💜

See DateTime::Locale. That's it, that's the whole support section — go read the locale page, bestie, it's got all the lore 🫶


okay and that's a wrap on this whole zh_Hant situation 💅 huge thanks to the perl v5.42.0 girlies for shipping this — page dated 2024-12-12, which is, like, so vintage of them 🎀 mwah, go format some dates, ily, bye 👋✨

📦 where this page comes from