DateTim...ale::yue(3)

πŸ’– NAME πŸ’–

DateTime::Locale::yue β€” locale data examples for the Cantonese (yue) locale.

Okay bestie, this page comes straight from the User Contributed Perl Documentation, and it's here to show off locale examples. No cap.

🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the Cantonese locale. It's literally a showcase, and we're going through every single example together. πŸ’…

πŸ—“οΈ Days πŸ—“οΈ

The day-name lineup is here in every flavor: wide, abbreviated, narrow, and each one repeated for format and stand-alone. Nothing skipped, bestie. ✨

πŸŽ€ Wide (format) πŸŽ€

ζ˜ŸζœŸδΈ€
星期二
ζ˜ŸζœŸδΈ‰
ζ˜ŸζœŸε››
ζ˜ŸζœŸδΊ”
ζ˜ŸζœŸε…­
星期ζ—₯

πŸŽ€ Abbreviated (format) πŸŽ€

ζ˜ŸζœŸδΈ€
星期二
ζ˜ŸζœŸδΈ‰
ζ˜ŸζœŸε››
ζ˜ŸζœŸδΊ”
ζ˜ŸζœŸε…­
星期ζ—₯

πŸŽ€ Narrow (format) πŸŽ€

δΈ€
二
δΈ‰
ε››
δΊ”
ε…­
ζ—₯

πŸŽ€ Wide (stand-alone) πŸŽ€

ζ˜ŸζœŸδΈ€
星期二
ζ˜ŸζœŸδΈ‰
ζ˜ŸζœŸε››
ζ˜ŸζœŸδΊ”
ζ˜ŸζœŸε…­
星期ζ—₯

πŸŽ€ Abbreviated (stand-alone) πŸŽ€

ζ˜ŸζœŸδΈ€
星期二
ζ˜ŸζœŸδΈ‰
ζ˜ŸζœŸε››
ζ˜ŸζœŸδΊ”
ζ˜ŸζœŸε…­
星期ζ—₯

πŸŽ€ Narrow (stand-alone) πŸŽ€

δΈ€
二
δΈ‰
ε››
δΊ”
ε…­
ζ—₯

πŸŒ™ Months πŸŒ™

Months are giving numeric-month-plus-月 energy for wide and abbreviated, while narrow keeps it to the bare number. The stand-alone versions match their format twins, fr fr. πŸ¦‹

✨ 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 🧚

Quarters are all about 第1季 through 第4季 for the wide and abbreviated versions, and narrow keeps it cute and simple with 1, 2, 3, 4. 🌸

πŸ’œ 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 πŸ‘‘

Only three era flavors here: wide, abbreviated, and narrow, all in format mode. No stand-alone era section, so don't go looking, bestie. 😭

⭐ Wide (format) ⭐

θ₯Ώε…ƒε‰
θ₯Ώε…ƒ

⭐ Abbreviated (format) ⭐

θ₯Ώε…ƒε‰
θ₯Ώε…ƒ

⭐ Narrow (format) ⭐

θ₯Ώε…ƒε‰
θ₯Ώε…ƒ

πŸ“… Date Formats πŸ“…

Now we're getting into actual date formats. Full is full, Long and Medium happen to match here, and Short is the slashy one. All examples are exactly as they appear. πŸ’–

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

Time formats are here, and yes, Full and Long are twinning. Medium and Short drop the [UTC] part, exactly like the examples show. 🫢

πŸ”₯ Full πŸ”₯

2008-02-05T18:30:30 = δΈ‹εˆ6:30:30 [UTC]
1995-12-22T09:05:02 = 上午9:05:02 [UTC]
-0010-09-15T04:44:23 = 上午4:44:23 [UTC]

πŸ”₯ Long πŸ”₯

2008-02-05T18:30:30 = δΈ‹εˆ6:30:30 [UTC]
1995-12-22T09:05:02 = 上午9:05:02 [UTC]
-0010-09-15T04:44:23 = 上午4:44:23 [UTC]

πŸ”₯ Medium πŸ”₯

2008-02-05T18:30:30 = δΈ‹εˆ6:30:30
1995-12-22T09:05:02 = 上午9:05:02
-0010-09-15T04:44:23 = 上午4:44:23

πŸ”₯ Short πŸ”₯

2008-02-05T18:30:30 = δΈ‹εˆ6:30
1995-12-22T09:05:02 = 上午9:05
-0010-09-15T04:44:23 = 上午4:44

πŸ¦‹ Datetime Formats πŸ¦‹

Date plus time combos, coming right up. Every flavor is listed, and every example is kept exactly as-is. Periodt. πŸ’…

🌟 Full 🌟

2008-02-05T18:30:30 = 2008εΉ΄2月5ζ—₯ 星期二 δΈ‹εˆ6:30:30 [UTC]
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ ζ˜ŸζœŸδΊ” 上午9:05:02 [UTC]
-0010-09-15T04:44:23 = -10εΉ΄9月15ζ—₯ ζ˜ŸζœŸε…­ 上午4:44:23 [UTC]

🌟 Long 🌟

2008-02-05T18:30:30 = 2008εΉ΄2月5ζ—₯ δΈ‹εˆ6:30:30 [UTC]
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ 上午9:05:02 [UTC]
-0010-09-15T04:44:23 = -10εΉ΄9月15ζ—₯ 上午4:44:23 [UTC]

🌟 Medium 🌟

2008-02-05T18:30:30 = 2008εΉ΄2月5ζ—₯ δΈ‹εˆ6:30:30
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ 上午9:05:02
-0010-09-15T04:44:23 = -10εΉ΄9月15ζ—₯ 上午4:44:23

🌟 Short 🌟

2008-02-05T18:30:30 = 2008/2/5 δΈ‹εˆ6:30
1995-12-22T09:05:02 = 1995/12/22 上午9:05
-0010-09-15T04:44:23 = -10/9/15 上午4:44

πŸŽ€ Available Formats πŸŽ€

This is the big one, bestie: every available format key with its three timestamp examples. Buckle up. πŸ“

πŸ’« 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 ah:mm) πŸ’«

2008-02-05T18:30:30 = 星期二 δΈ‹εˆ6:30
1995-12-22T09:05:02 = ζ˜ŸζœŸδΊ” 上午9:05
-0010-09-15T04:44:23 = ζ˜ŸζœŸε…­ 上午4:44

πŸ’« Ehms (E ah:mm:ss) πŸ’«

2008-02-05T18:30:30 = 星期二 δΈ‹εˆ6:30:30
1995-12-22T09:05:02 = ζ˜ŸζœŸδΊ” 上午9:05:02
-0010-09-15T04:44:23 = ζ˜ŸζœŸε…­ 上午4: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 (GGGGG 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

πŸ’« 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 (M月第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 (ahζ™‚) πŸ’«

2008-02-05T18:30:30 = δΈ‹εˆ6ζ™‚
1995-12-22T09:05:02 = 上午9ζ™‚
-0010-09-15T04:44:23 = 上午4ζ™‚

πŸ’« hm (ah:mm) πŸ’«

2008-02-05T18:30:30 = δΈ‹εˆ6:30
1995-12-22T09:05:02 = 上午9:05
-0010-09-15T04:44:23 = 上午4:44

πŸ’« hms (ah:mm:ss) πŸ’«

2008-02-05T18:30:30 = δΈ‹εˆ6:30:30
1995-12-22T09:05:02 = 上午9:05:02
-0010-09-15T04:44:23 = 上午4:44:23

πŸ’« hmsv (ah:mm:ss [v]) πŸ’«

2008-02-05T18:30:30 = δΈ‹εˆ6:30:30 [UTC]
1995-12-22T09:05:02 = 上午9:05:02 [UTC]
-0010-09-15T04:44:23 = 上午4:44:23 [UTC]

πŸ’« hmv (ah:mm [v]) πŸ’«

2008-02-05T18:30:30 = δΈ‹εˆ6:30 [UTC]
1995-12-22T09:05:02 = 上午9:05 [UTC]
-0010-09-15T04:44:23 = 上午4: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

πŸ’« 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) β€” the full glam date-with-weekday situation ✨
2008-02-05T18:30:30 = 2008εΉ΄2月5ζ—₯ 星期二
1995-12-22T09:05:02 = 1995εΉ΄12月22ζ—₯ ζ˜ŸζœŸδΊ”
-0010-09-15T04:44:23 = -10εΉ΄9月15ζ—₯ ζ˜ŸζœŸε…­
  • yMMMM (yεΉ΄M月) β€” year plus long month, no day, no stress πŸ’…
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ζ—₯) β€” year, month, day, that's the whole vibe πŸŽ€
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 slashes-are-back classic, lowkey the most readable one ngl πŸ¦‹
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) β€” year + abbreviated quarter, for when you're thinking in seasons bestie 🌸
2008-02-05T18:30:30 = 2008年第1季
1995-12-22T09:05:02 = 1995年第4季
-0010-09-15T04:44:23 = -10年第3季
  • yQQQQ (yεΉ΄QQQQ) β€” same quarter energy, just the wide version πŸ”₯
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ε€‹ζ˜ŸζœŸ) β€” year + week-of-year, week-number girlies rise πŸ‘‘
2008-02-05T18:30:30 = 2008年第6ε€‹ζ˜ŸζœŸ
1995-12-22T09:05:02 = 1995年第51ε€‹ζ˜ŸζœŸ
-0010-09-15T04:44:23 = -10年第37ε€‹ζ˜ŸζœŸ

🧚 Miscellaneous 🧚

Does it prefer 24 hour time?

No πŸ™ˆ (12-hour girlie through and through)

Local first day of the week β€” 1 (ζ˜ŸζœŸδΈ€), so weeks start on Monday, periodt πŸ’œ


⭐ Strftime Patterns ⭐

  • %c (%a %b %e %H:%M:%S %Y) β€” date time format, the whole package πŸ“¦βœ¨
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 only, short and cute πŸŽ€
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 only, clock girlies this one's for you πŸ•
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 the whole support section bestie, go read that one πŸ’–


okay that's the whole page, we ate and left no crumbs πŸ’… this was perl v5.42.0 documentation dated 2024-12-12, archived under DateTim...ale::yue(3) β€” go forth and format your dates, ily, bye πŸ¦‹βœ¨

πŸ“¦ where this page comes from