DateTim...e::ii_CN(3)
๐ DateTim...e::ii_CN(3) ๐
okay bestie, buckle up ๐
this right here is DateTim...e::ii_CN(3) from the User Contributed Perl Documentation, and it's literally a whole vibe โ it's the locale data showcase page for the Sichuan Yi China (ii-CN) locale, and no, we are not skipping a single line of it. Not one. โจ
๐ NAME ๐
DateTime::Locale::ii_CN โ Locale data examples for the Sichuan Yi China (ii-CN) locale ๐ฆ
๐ธ DESCRIPTION ๐ธ
so this pod file is literally a museum of examples, okay? it contains examples of the locale data available for the Sichuan Yi China locale, and every single one of them is iconic in its own right. we're talking days, months, quarters, eras, date formats, time formats, datetime formats, and the whole available-formats lineup. let's go ๐ซถ
๐ Days
โจ Wide (format)
๊๊๊
๊๊๊
๊๊๊
๊๊๊
๊๊๊ฌ
๊๊๊
๊ฌ๊๊
โจ Abbreviated (format)
๊๊
๊๊
๊๊
๊๊
๊๊ฌ
๊๊
๊ฌ๊
โจ Narrow (format)
๊
๊
๊
๊
๊ฌ
๊
๊
โจ Wide (stand-alone)
๊๊๊
๊๊๊
๊๊๊
๊๊๊
๊๊๊ฌ
๊๊๊
๊ฌ๊๊
โจ Abbreviated (stand-alone)
๊๊
๊๊
๊๊
๊๊
๊๊ฌ
๊๊
๊ฌ๊
โจ Narrow (stand-alone)
๊
๊
๊
๊
๊ฌ
๊
๊
๐ Months
โจ Wide (format)
๊๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊ฐ๊ช
๊ฏ๊ช๊ช
๊ฐ๊๊ช
โจ Abbreviated (format)
๊๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊ฐ๊ช
๊ฏ๊ช๊ช
๊ฐ๊๊ช
โจ Narrow (format)
1
2
3
4
5
6
7
8
9
10
11
12
โจ Wide (stand-alone)
๊๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊ฐ๊ช
๊ฏ๊ช๊ช
๊ฐ๊๊ช
โจ Abbreviated (stand-alone)
๊๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊๊ช
๊๊ช
๊๊ช
๊ฌ๊ช
๊ฐ๊ช
๊ฏ๊ช๊ช
๊ฐ๊๊ช
โจ Narrow (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
๐ Quarters
โจ Wide (format)
๊ฎ๊ฐ๊๊ท๊ถ๊
๊ฎ๊ฐ๊๊ท๊ถ๊
๊ฎ๊ฐ๊๊ท๊ถ๊
๊ฎ๊ฐ๊๊ท๊ถ๊
โจ Abbreviated (format)
1๊ฎ๊ฐ
2๊ฎ๊ฐ
3๊ฎ๊ฐ
4๊ฎ๊ฐ
โจ Narrow (format)
1
2
3
4
โจ Wide (stand-alone)
๊ฎ๊ฐ๊๊ท๊ถ๊
๊ฎ๊ฐ๊๊ท๊ถ๊
๊ฎ๊ฐ๊๊ท๊ถ๊
๊ฎ๊ฐ๊๊ท๊ถ๊
โจ 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 ๊๊ช 5, ๊๊๊
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช 22, ๊๊๊ฌ
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช 15, ๊๊๊
โจ Long
2008-02-05T18:30:30 = 2008 ๊๊ช 5
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช 22
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช 15
โจ Medium
2008-02-05T18:30:30 = 2008 ๊๊ช 5
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช 22
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช 15
โจ Short
2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15
๐ 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
๐ Datetime Formats
โจ Full
2008-02-05T18:30:30 = 2008 ๊๊ช 5, ๊๊๊ 18:30:30 UTC
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช 22, ๊๊๊ฌ 09:05:02 UTC
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช 15, ๊๊๊ 04:44:23 UTC
โจ Long
2008-02-05T18:30:30 = 2008 ๊๊ช 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช 15 04:44:23 UTC
โจ Medium
2008-02-05T18:30:30 = 2008 ๊๊ช 5 18:30:30
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช 22 09:05:02
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช 15 04:44:23
โจ Short
2008-02-05T18:30:30 = 2008-02-05 18:30
1995-12-22T09:05:02 = 1995-12-22 09:05
-0010-09-15T04:44:23 = -10-09-15 04:44
๐ Available Formats
okay this section is the main character of the whole page โ every named format, its pattern in parens, and three live sample timestamps. obsessed. ๐
โญ 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 = ๊๊
1995-12-22T09:05:02 = ๊๊ฌ
-0010-09-15T04:44:23 = ๊๊
โญ EBhm (E 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
โญ EBhms (E 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
โญ 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 h:mm a)
2008-02-05T18:30:30 = ๊๊ 6:30 ๊ฏ๊
1995-12-22T09:05:02 = ๊๊ฌ 9:05 ๊ธ๊
-0010-09-15T04:44:23 = ๊๊ 4:44 ๊ธ๊
โญ Ehms (E h:mm:ss a)
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 (G y)
2008-02-05T18:30:30 = ๊
๊๊ 2008
1995-12-22T09:05:02 = ๊
๊๊ 1995
-0010-09-15T04:44:23 = ๊
๊๊ฟ -10
โญ GyMMM (G y MMM)
2008-02-05T18:30:30 = ๊
๊๊ 2008 ๊๊ช
1995-12-22T09:05:02 = ๊
๊๊ 1995 ๊ฐ๊๊ช
-0010-09-15T04:44:23 = ๊
๊๊ฟ -10 ๊ฌ๊ช
โญ GyMMMEd (G y MMM d๊,E)
2008-02-05T18:30:30 = ๊
๊๊ 2008 ๊๊ช 5๊,๊๊
1995-12-22T09:05:02 = ๊
๊๊ 1995 ๊ฐ๊๊ช 22๊,๊๊ฌ
-0010-09-15T04:44:23 = ๊
๊๊ฟ -10 ๊ฌ๊ช 15๊,๊๊
โญ GyMMMd (G y MMM d๊)
2008-02-05T18:30:30 = ๊
๊๊ 2008 ๊๊ช 5๊
1995-12-22T09:05:02 = ๊
๊๊ 1995 ๊ฐ๊๊ช 22๊
-0010-09-15T04:44:23 = ๊
๊๊ฟ -10 ๊ฌ๊ช 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 (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 (v HH:mm:ss)
2008-02-05T18:30:30 = UTC 18:30:30
1995-12-22T09:05:02 = UTC 09:05:02
-0010-09-15T04:44:23 = UTC 04:44:23
โญ 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 (MM๊ช-dd๊๏ผE)
2008-02-05T18:30:30 = 02๊ช-05๊๏ผ๊๊
1995-12-22T09:05:02 = 12๊ช-22๊๏ผ๊๊ฌ
-0010-09-15T04:44:23 = 09๊ช-15๊๏ผ๊๊
โญ MMM (LLL)
2008-02-05T18:30:30 = ๊๊ช
1995-12-22T09:05:02 = ๊ฐ๊๊ช
-0010-09-15T04:44:23 = ๊ฌ๊ช
โญ MMMEd (MMMM d๊,E)
2008-02-05T18:30:30 = ๊๊ช 5๊,๊๊
1995-12-22T09:05:02 = ๊ฐ๊๊ช 22๊,๊๊ฌ
-0010-09-15T04:44:23 = ๊ฌ๊ช 15๊,๊๊
โญ MMMMW-count-other ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of ๊๊ช
1995-12-22T09:05:02 = week 3 of ๊ฐ๊๊ช
-0010-09-15T04:44:23 = week 2 of ๊ฌ๊ช
โญ MMMMd (MMMM d๊)
2008-02-05T18:30:30 = ๊๊ช 5๊
1995-12-22T09:05:02 = ๊ฐ๊๊ช 22๊
-0010-09-15T04:44:23 = ๊ฌ๊ช 15๊
โญ MMMd (MMM d๊)
2008-02-05T18:30:30 = ๊๊ช 5๊
1995-12-22T09:05:02 = ๊ฐ๊๊ช 22๊
-0010-09-15T04:44:23 = ๊ฌ๊ช 15๊
โญ Md (MM๊ช-dd๊)
2008-02-05T18:30:30 = 02๊ช-05๊
1995-12-22T09:05:02 = 12๊ช-22๊
-0010-09-15T04:44:23 = 09๊ช-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 ๊ฏ๊
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 (v ah:mm:ss)
2008-02-05T18:30:30 = UTC ๊ฏ๊6:30:30
1995-12-22T09:05:02 = UTC ๊ธ๊9:05:02
-0010-09-15T04:44:23 = UTC ๊ธ๊4:44:23
โญ hmv (h:mm a 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-MM)
2008-02-05T18:30:30 = 2008-02
1995-12-22T09:05:02 = 1995-12
-0010-09-15T04:44:23 = -10-09
โญ yMEd (y-MM-dd, E)
2008-02-05T18:30:30 = 2008-02-05, ๊๊
1995-12-22T09:05:02 = 1995-12-22, ๊๊ฌ
-0010-09-15T04:44:23 = -10-09-15, ๊๊
โญ yMMM (y MMM)
2008-02-05T18:30:30 = 2008 ๊๊ช
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช
โญ yMMMEd (y MMM d๊,E)
2008-02-05T18:30:30 = 2008 ๊๊ช 5๊,๊๊
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช 22๊,๊๊ฌ
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช 15๊,๊๊
โญ yMMMM (y MMMM)
and that's where part 1 dips out, bestie โ more parts are literally on the way, don't go anywhere ๐
โฆand the last trio from the pattern we were just looking at, so you've got the full picture:
2008-02-05T18:30:30 = 2008 ๊๊ช
1995-12-22T09:05:02 = 1995 ๊ฐ๊๊ช
-0010-09-15T04:44:23 = -10 ๊ฌ๊ช
yMMMd (y๊M๊ชd๊)
The cozy little year-month-day stack, all glued together with no dashes โ bestie it's giving "sticky note on the fridge" 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๊
yMd (y-MM-dd)
Classic dashed date, the one your brain autocompletes ๐
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 (y QQQ)
Quarter of the year, abbreviated version โ short and sweet:
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, but spelled all the way out โ main character energy, no abbreviations โจ
2008-02-05T18:30:30 = 2008 ๊ฎ๊ฐ๊๊ท๊ถ๊
1995-12-22T09:05:02 = 1995 ๊ฎ๊ฐ๊๊ท๊ถ๊
-0010-09-15T04:44:23 = -10 ๊ฎ๊ฐ๊๊ท๊ถ๊
yw-count-other ('week' w 'of' Y)
Week number out of the whole year, and yes it literally says week and of in there, lowercase, unbothered ๐ซถ
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 ๐ธ
Small section, big opinions. Here's what this locale insists on:
- Prefers 24 hour time? โ Yes. Twenty-four hour girlie through and through, no
am/pmchaos ๐ - Local first day of the week โ
1(๊๊๊)
๐ฆ Strftime Patterns ๐ฆ
Okay so these are the old-school strftime-style slots โ like the vintage version of the pattern stuff above, and they still hit. Let's go ๐
%c (%a %b %e %H:%M:%S %Y) โ date time format
The whole date and time in one shot, no cap:
2008-02-05T18:30:30 = ๊๊ ๊๊ช 5 18:30:30 2008
1995-12-22T09:05:02 = ๊๊ฌ ๊ฐ๊๊ช 22 09:05:02 1995
-0010-09-15T04:44:23 = ๊๊ ๊ฌ๊ช 15 04:44:23 -10
Heads up bestie โ in that first line there really are two spaces between๊๊ชand5, that's the%edoing its space-padded thing, she's iconic like that ๐
%x (%m/%d/%y) โ date format
Just the date, slashy edition ๐
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
And just the time, colon-colon-colon โญ
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, she's lowkey minimal and we respect it ๐
That's the whole page, bestie โ you now know everything about this locale that the docs are willing to tell you. Go format some dates, slay, periodt. ๐
Signed off with love from the docs themselves: perl v5.42.0, dated 2024-12-12. Take that energy with you ๐ฆ๐ธ๐
๐ฆ where this page comes from
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 ยท Artistic-1.0 OR GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms