DateTim...Hant_TW(3)

🦋 DateTime::Locale::zh_Hant_TW(3) 🦋

okay bestie, this is the User Contributed Perl Documentation page for DateTime::Locale::zh_Hant_TW, and it is lowkey iconic. It is all about examples of the locale data for the Chinese Taiwan Traditional (zh-Hant-TW) locale. We are keeping every value exactly as it is, because facts are sacred 💅.


✨ NAME ✨

  • DateTime::Locale::zh_Hant_TW — Locale data examples for the Chinese Taiwan Traditional (zh-Hant-TW) locale.

🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the Chinese Taiwan Traditional locale. That is the whole vibe: a pod file stuffed with locale-data examples, and we are about to walk through all of them together, bestie 🫶.

🗓️ Days 🗓️

🌟 Wide (format)

the full weekday names, serving full-name energy:

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

🎀 Abbreviated (format)

the shortened weekday names:

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

🦋 Narrow (format)

tiny weekday names, one character each:

一
二
三
四
五
六
日

💖 Wide (stand-alone)

wide weekday names, standing alone and still slaying:

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

🌸 Abbreviated (stand-alone)

abbreviated stand-alone weekdays:

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

✨ Narrow (stand-alone)

narrow stand-alone weekdays:

一
二
三
四
五
六
日

🌙 Months 🌙

🌟 Wide (format)

wide month names, all lined up:

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

🎀 Abbreviated (format)

abbreviated month names:

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

🦋 Narrow (format)

narrow month names:

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

💖 Wide (stand-alone)

wide stand-alone months:

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

🌸 Abbreviated (stand-alone)

abbreviated stand-alone months:

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

✨ Narrow (stand-alone)

narrow stand-alone months:

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

🍓 Quarters 🍓

🌟 Wide (format)

wide quarter names, doing their quarterly thing:

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

🎀 Abbreviated (format)

abbreviated quarters:

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

🦋 Narrow (format)

narrow quarters:

1
2
3
4

💖 Wide (stand-alone)

wide stand-alone quarters:

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

🌸 Abbreviated (stand-alone)

abbreviated stand-alone quarters:

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

✨ Narrow (stand-alone)

narrow stand-alone quarters:

1
2
3
4

👑 Eras 👑

🌟 Wide (format)

wide era names:

西元前
西元

🎀 Abbreviated (format)

abbreviated eras:

西元前
西元

🦋 Narrow (format)

narrow eras:

西元前
西元

📅 Date Formats 📅

💖 Full

full date energy:

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

long date format:

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

medium date format:

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

short date format:

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

full time format, with the B-prefixed hours and [UTC] where it appears:

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

long time format:

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

medium time format:

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

short time format:

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

🌈 Datetime Formats 🌈

💖 Full

full datetime format:

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

long datetime format:

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

medium datetime format:

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

short datetime format:

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)

yMMMM (y年M月)

Year + month, nice and tidy. No days invited to this party 💅

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

yMMMd (y年M月d日)

Now the day gets an invite too, and honestly it ate. 🎀

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 (y/M/d)

The slashy one — very "filling out a form" of it. Also notice the month and day are not zero-padded here, and that negative year is still out here living its best life 😭

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 (y年QQQ)

Quarterly report energy 🔥 The quarter shows up as 第*n*季 — so 第1季 all the way through 第4季.

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

yQQQQ (y年QQQQ)

The "wide" quarter version — and yeah, for this locale it gives you exactly the same strings as yQQQ above. Not a typo bestie, that's just how it is 🫶

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

yw-count-other (Y年的第w週)

Week-of-year, and it's literally built into the pattern name that it's a "count" + "other" plural form. The 第*w*週 is giving calendar-app realness 📅

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

🌸 MISCELLANEOUS 🌸

Just a couple of quick vibe-check facts about this locale 👑

  • Prefers 24 hour time? — No
  • Local first day of the week — 7 (星期日) — that's Sunday, so the week kicks off on Sunday around here 🌞

🕰️ STRFTIME PATTERNS 🕰️

Okay so these are the classic strftime-style patterns, with the actual pattern in parentheses next to each one, plus the three test timestamps we keep using so you can compare side by side. Iconic consistency, honestly. ✨

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

The full date-and-time combo. Watch out — that's the weekday, month, day, time, year order, and there's a double space before the single-digit day in the 2008 line because %e is space-padded, not zero-padded. Keep it exactly as is! 🙈

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

Month/day/two-digit-year, all zero-padded and slash-separated. And yes, that last one is year 10 for the year -10 — do not come for me, I'm just the messenger 💀

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

Hour:minute:second, 24-hour style, zero-padded all the way down. Clean, simple, slays 🎀

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 assignment, bestie. 📚


And that's the page! 🦋 This lovely little locale doc ships with perl v5.42.0 and is dated 2024-12-12 — that's the version and date riding along at the bottom of DateTim...Hant_TW(3), which is just the truncated-to-fit name of this very manual page. Go format some dates, you're gonna do amazing 💖✨

📦 where this page comes from