DateTim...e::kw_GB(3)
β¨ DateTim...e::kw_GB (3) β¨
okay so this is from the User Contributed Perl Documentation section, and it's literally the manual page for DateTime::Locale::kw_GB β the Cornish United Kingdom locale, aka kw-GB. bestie it's giving "deep lore of a language that deserves more hype" and we're gonna read every single line of it together π«Άπ
π NAME π
DateTime::Locale::kw_GB β Locale data examples for the Cornish United Kingdom (kw-GB) locale
π¦ DESCRIPTION π¦
This pod file contains examples of the locale data available for the Cornish United Kingdom locale.
lowkey the whole page is just examples β no cap, it's a data show-and-tell, and honestly? obsessed. also heads up: no options, no flags, no exit statuses here. it's purely "look at these gorgeous strings" energy πΈ
π Days
Wide (format)
dy Lun
dy Meurth
dy Merher
dy Yow
dy Gwener
dy Sadorn
dy Sul
Abbreviated (format)
Lun
Mth
Mhr
Yow
Gwe
Sad
Sul
Narrow (format)
M
T
W
T
F
S
S
not me pointing out that there are twoTs and twoSs in there π that's literally the data, i'm not editing the icon's art. yesM,T,W,T,F,S,S. periodt.
Wide (stand-alone)
dy Lun
dy Meurth
dy Merher
dy Yow
dy Gwener
dy Sadorn
dy Sul
Abbreviated (stand-alone)
Lun
Mth
Mhr
Yow
Gwe
Sad
Sul
Narrow (stand-alone)
M
T
W
T
F
S
S
π Months
Wide (format)
mis Genver
mis Hwevrer
mis Meurth
mis Ebrel
mis Me
mis Metheven
mis Gortheren
mis Est
mis Gwynngala
mis Hedra
mis Du
mis Kevardhu
Abbreviated (format)
Gen
Hwe
Meu
Ebr
Me
Met
Gor
Est
Gwn
Hed
Du
Kev
Narrow (format)
1
2
3
4
5
6
7
8
9
10
11
12
Wide (stand-alone)
mis Genver
mis Hwevrer
mis Meurth
mis Ebrel
mis Me
mis Metheven
mis Gortheren
mis Est
mis Gwynngala
mis Hedra
mis Du
mis Kevardhu
Abbreviated (stand-alone)
Gen
Hwe
Meu
Ebr
Me
Met
Gor
Est
Gwn
Hed
Du
Kev
Narrow (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
the narrow months being literally1through12is so unserious and i respect it so much π numbers ate, zero notes.
π¦ Quarters
Wide (format)
Q1
Q2
Q3
Q4
Abbreviated (format)
Q1
Q2
Q3
Q4
Narrow (format)
1
2
3
4
Wide (stand-alone)
Q1
Q2
Q3
Q4
Abbreviated (stand-alone)
Q1
Q2
Q3
Q4
Narrow (stand-alone)
1
2
3
4
π Eras
Wide (format)
RC
AD
Abbreviated (format)
RC
AD
Narrow (format)
RC
AD
three for three, same two strings every time. consistency is the main character here π
π Date Formats
Full
2008-02-05T18:30:30 = 2008 mis Hwevrer 5, dy Meurth
1995-12-22T09:05:02 = 1995 mis Kevardhu 22, dy Gwener
-0010-09-15T04:44:23 = -10 mis Gwynngala 15, dy Sadorn
Long
2008-02-05T18:30:30 = 2008 mis Hwevrer 5
1995-12-22T09:05:02 = 1995 mis Kevardhu 22
-0010-09-15T04:44:23 = -10 mis Gwynngala 15
Medium
2008-02-05T18:30:30 = 2008 Hwe 5
1995-12-22T09:05:02 = 1995 Kev 22
-0010-09-15T04:44:23 = -10 Gwn 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 mis Hwevrer 5, dy Meurth 18:30:30 UTC
1995-12-22T09:05:02 = 1995 mis Kevardhu 22, dy Gwener 09:05:02 UTC
-0010-09-15T04:44:23 = -10 mis Gwynngala 15, dy Sadorn 04:44:23 UTC
Long
2008-02-05T18:30:30 = 2008 mis Hwevrer 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 mis Kevardhu 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 mis Gwynngala 15 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 2008 Hwe 5 18:30:30
1995-12-22T09:05:02 = 1995 Kev 22 09:05:02
-0010-09-15T04:44:23 = -10 Gwn 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 is the big one, bestie β every single named format, with its pattern in parentheses and the three example renderings. buckle up, there's a LOT and we're doing all of them, no skips π₯
Bh(h B) β h + B, and that's the whole vibe:
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) β now with minutes:
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) β and seconds said hi:
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) β just the day name, abbreviated:
2008-02-05T18:30:30 = Mth
1995-12-22T09:05:02 = Gwe
-0010-09-15T04:44:23 = Sad
EBhm(E h:mm B) β day name plush:mm B:
2008-02-05T18:30:30 = Mth 6:30 B
1995-12-22T09:05:02 = Gwe 9:05 B
-0010-09-15T04:44:23 = Sad 4:44 B
EBhms(E h:mm:ss B) β same but with seconds:
2008-02-05T18:30:30 = Mth 6:30:30 B
1995-12-22T09:05:02 = Gwe 9:05:02 B
-0010-09-15T04:44:23 = Sad 4:44:23 B
EHm(E HH:mm) β day name + 24-hour time:
2008-02-05T18:30:30 = Mth 18:30
1995-12-22T09:05:02 = Gwe 09:05
-0010-09-15T04:44:23 = Sad 04:44
EHms(E HH:mm:ss) β the seconds version:
2008-02-05T18:30:30 = Mth 18:30:30
1995-12-22T09:05:02 = Gwe 09:05:02
-0010-09-15T04:44:23 = Sad 04:44:23
Ed(d, E) β day-of-month, comma, day name:
2008-02-05T18:30:30 = 5, Mth
1995-12-22T09:05:02 = 22, Gwe
-0010-09-15T04:44:23 = 15, Sad
Ehm(E h:mm a) β day name + 12-hour witha.m./p.m.:
2008-02-05T18:30:30 = Mth 6:30 p.m.
1995-12-22T09:05:02 = Gwe 9:05 a.m.
-0010-09-15T04:44:23 = Sad 4:44 a.m.
Ehms(E h:mm:ss a) β the seconds version of that:
2008-02-05T18:30:30 = Mth 6:30:30 p.m.
1995-12-22T09:05:02 = Gwe 9:05:02 a.m.
-0010-09-15T04:44:23 = Sad 4:44:23 a.m.
Gy(G y) β era + year:
2008-02-05T18:30:30 = AD 2008
1995-12-22T09:05:02 = AD 1995
-0010-09-15T04:44:23 = RC -10
GyMMM(G y MMM) β era, year, abbreviated month:
2008-02-05T18:30:30 = AD 2008 Hwe
1995-12-22T09:05:02 = AD 1995 Kev
-0010-09-15T04:44:23 = RC -10 Gwn
GyMMMEd(G y MMM d, E) β the full little combo platter:
2008-02-05T18:30:30 = AD 2008 Hwe 5, Mth
1995-12-22T09:05:02 = AD 1995 Kev 22, Gwe
-0010-09-15T04:44:23 = RC -10 Gwn 15, Sad
GyMMMd(G y MMM d) β same minus the day name:
2008-02-05T18:30:30 = AD 2008 Hwe 5
1995-12-22T09:05:02 = AD 1995 Kev 22
-0010-09-15T04:44:23 = RC -10 Gwn 15
GyMd(GGGGG y-MM-dd) β era + numeric date:
2008-02-05T18:30:30 = AD 2008-02-05
1995-12-22T09:05:02 = AD 1995-12-22
-0010-09-15T04:44:23 = RC -10-09-15
H(HH) β 24-hour hour, zero-padded:
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
Hm(HH:mm) β hour and minute:
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) β hour, minute, second:
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) β with the time zone (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) β shorter, still got the zone:
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) β month number, stand-alone style:
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MEd(MM-dd, E) β numeric month-day plus day name:
2008-02-05T18:30:30 = 02-05, Mth
1995-12-22T09:05:02 = 12-22, Gwe
-0010-09-15T04:44:23 = 09-15, Sad
MMM(LLL) β stand-alone abbreviated month:
2008-02-05T18:30:30 = Hwe
1995-12-22T09:05:02 = Kev
-0010-09-15T04:44:23 = Gwn
MMMEd(MMM d, E) β abbreviated month, day, day name:
2008-02-05T18:30:30 = Hwe 5, Mth
1995-12-22T09:05:02 = Kev 22, Gwe
-0010-09-15T04:44:23 = Gwn 15, Sad
MMMMW-count-other('week' W 'of' MMMM) β the week-in-month one, and yes the wordsweekandofare literally in the pattern:
2008-02-05T18:30:30 = week 1 of mis Hwevrer
1995-12-22T09:05:02 = week 3 of mis Kevardhu
-0010-09-15T04:44:23 = week 2 of mis Gwynngala
MMMMd(MMMM d) β wide month + day:
2008-02-05T18:30:30 = mis Hwevrer 5
1995-12-22T09:05:02 = mis Kevardhu 22
-0010-09-15T04:44:23 = mis Gwynngala 15
MMMd(MMM d) β abbreviated month + day:
2008-02-05T18:30:30 = Hwe 5
1995-12-22T09:05:02 = Kev 22
-0010-09-15T04:44:23 = Gwn 15
Md(MM-dd) β just numbers, very demure:
2008-02-05T18:30:30 = 02-05
1995-12-22T09:05:02 = 12-22
-0010-09-15T04:44:23 = 09-15
d(d) β day of the month, that's it:
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
h(h a) β 12-hour hour + thea.m./p.m.marker:
2008-02-05T18:30:30 = 6 p.m.
1995-12-22T09:05:02 = 9 a.m.
-0010-09-15T04:44:23 = 4 a.m.
hm(h:mm a) β hour and minute with the marker:
2008-02-05T18:30:30 = 6:30 p.m.
1995-12-22T09:05:02 = 9:05 a.m.
-0010-09-15T04:44:23 = 4:44 a.m.
hms(h:mm:ss a) β and seconds too:
2008-02-05T18:30:30 = 6:30:30 p.m.
1995-12-22T09:05:02 = 9:05:02 a.m.
-0010-09-15T04:44:23 = 4:44:23 a.m.
hmsv(h:mm:ss a v) β 12-hour, seconds, and the zone:
2008-02-05T18:30:30 = 6:30:30 p.m. UTC
1995-12-22T09:05:02 = 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC
hmv(h:mm a v) β same but no seconds:
2008-02-05T18:30:30 = 6:30 p.m. UTC
1995-12-22T09:05:02 = 9:05 a.m. UTC
-0010-09-15T04:44:23 = 4:44 a.m. UTC
ms(mm:ss) β minutes and seconds, no hour, chaotic but fine:
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
y(y) β the year, and yes it goes negative for the BC-ish example:
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM(y-MM) β year and month:
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) β year-month-day plus day name:
2008-02-05T18:30:30 = 2008-02-05, Mth
1995-12-22T09:05:02 = 1995-12-22, Gwe
-0010-09-15T04:44:23 = -10-09-15, Sad
yMMM(y MMM) β year + abbreviated month:
2008-02-05T18:30:30 = 2008 Hwe
1995-12-22T09:05:02 = 1995 Kev
-0010-09-15T04:44:23 = -10 Gwn
yMMMEd(y MMM d, E) β year, abbreviated month, day, day name:
2008-02-05T18:30:30 = 2008 Hwe 5, Mth
1995-12-22T09:05:02 = 1995 Kev 22, Gwe
-0010-09-15T04:44:23 = -10 Gwn 15, Sad
yMMMM(y MMMM) β year + wide month:
2008-02-05T18:30:30 = 2008 mis Hwevrer
1995-12-22T09:05:02 = 1995 mis Kevardhu
-0010-09-15T04:44:23 = -10 mis Gwynngala
yMMMd(y MMM d) β year, abbreviated month, day:
2008-02-05T18:30:30 = 2008 Hwe 5
1995-12-22T09:05:02 = 1995 Kev 22
-0010-09-15T04:44:23 = -10 Gwn 15
yMd(y-MM-dd) β classic numeric date:
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) β year + abbreviated quarter:
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
yQQQQ(y QQQQ) β year + wide quarter:
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
π¦ yw-count-other ('week' w 'of' Y) π¦
Okay bestie, this one is literally giving βwhich week of the year are we in?β energy, and it ate. The format is 'week' w 'of' Y, so you get the week number plus the year. Iconic.
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
Like, yes, that last one is a negative year and itβs still slaying. No cap.
πΈ Miscellaneous πΈ
A couple of little en_GB vibe-check details:
- Prefers 24 hour time? Yes β literally yes, 24-hour girlie all the way.
- Local first day of the week
1(dy Lun) β Monday is the main character here. periodt.
π Strftime Patterns π
These are the strftime glow-ups for this locale, and honestly? Theyβre cute. π
β %c (%a %d %b %Y %T) β date time format
The full date-time moment. Very βtell me everythingβ of it.
2008-02-05T18:30:30 = Mth 05 Hwe 2008 18:30:30
1995-12-22T09:05:02 = Gwe 22 Kev 1995 09:05:02
-0010-09-15T04:44:23 = Sad 15 Gwn -10 04:44:23
π %x (%d/%m/%y) β date format
Just the date, bestie. Day/month/year, very demure, very en_GB.
2008-02-05T18:30:30 = 05/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/10
π°οΈ %X (%T) β time format
And hereβs the time-only one, living its best %T life.
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 β short, sweet, and to the point. π«Ά
π okay thatβs the whole page! source/version vibes:perl v5.42.0, dated2024-12-12, and the footer saysDateTim...e::kw_GB(3). πβ¨
π¦ 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