DateTim...ale::cy(3)
π NAME π
DateTime::Locale::cy β literally just the locale data examples for the Welsh (cy) locale, no cap π΄σ §σ ’σ ·σ ¬σ ³σ Ώ
(also hi bestie, this is a perl page from the User Contributed Perl Documentation section β the (3) in the corner, iykyk)
β¨ DESCRIPTION β¨
Okay so this pod file is basically a showcase, right? It's full of examples of the locale data you get for the Welsh locale. Think of it as a lookbook β every name, every format, every vibe check, all laid out so you can see exactly what comes back. π
ποΈ Days
Wide (format)
The full glow-up names, in order:
Dydd Llun
Dydd Mawrth
Dydd Mercher
Dydd Iau
Dydd Gwener
Dydd Sadwrn
Dydd Sul
Abbreviated (format)
Same energy, just shorter (yes we're abbreviating):
Llun
Maw
Mer
Iau
Gwen
Sad
Sul
Narrow (format)
Girl these are tiny. One letter, maximum slay:
Ll
M
M
I
G
S
S
Wide (stand-alone)
The wide names again, but standing on their own two feet π
Dydd Llun
Dydd Mawrth
Dydd Mercher
Dydd Iau
Dydd Gwener
Dydd Sadwrn
Dydd Sul
Abbreviated (stand-alone)
Stand-alone abbrevs β and heads up, Gwe is different from the format version's Gwen. Not a typo, that's just how it is:
Llun
Maw
Mer
Iau
Gwe
Sad
Sul
Narrow (stand-alone)
Ll
M
M
I
G
S
S
πΈ Months
Wide (format)
Twelve months of main character energy:
Ionawr
Chwefror
Mawrth
Ebrill
Mai
Mehefin
Gorffennaf
Awst
Medi
Hydref
Tachwedd
Rhagfyr
Abbreviated (format)
Ion
Chwef
Maw
Ebr
Mai
Meh
Gorff
Awst
Medi
Hyd
Tach
Rhag
Narrow (format)
I
Ch
M
E
M
M
G
A
M
H
T
Rh
Wide (stand-alone)
Ionawr
Chwefror
Mawrth
Ebrill
Mai
Mehefin
Gorffennaf
Awst
Medi
Hydref
Tachwedd
Rhagfyr
Abbreviated (stand-alone)
Careful bestie, these are slightly different from the format ones β Chw and Gor instead of Chwef and Gorff. Details matter π
Ion
Chw
Maw
Ebr
Mai
Meh
Gor
Awst
Medi
Hyd
Tach
Rhag
Narrow (stand-alone)
I
Ch
M
E
M
M
G
A
M
H
T
Rh
π¦ Quarters
Wide (format)
chwarter 1af
2il chwarter
3ydd chwarter
4ydd chwarter
Abbreviated (format)
Ch1
Ch2
Ch3
Ch4
Narrow (format)
Just the digits, obsessed:
1
2
3
4
Wide (stand-alone)
chwarter 1af
2il chwarter
3ydd chwarter
4ydd chwarter
Abbreviated (stand-alone)
Ch1
Ch2
Ch3
Ch4
Narrow (stand-alone)
1
2
3
4
β Eras
Wide (format)
Cyn Crist
Oed Crist
Abbreviated (format)
CC
OC
Narrow (format)
C
O
π Date Formats
Full
2008-02-05T18:30:30 = Dydd Mawrth, 5 Chwefror 2008
1995-12-22T09:05:02 = Dydd Gwener, 22 Rhagfyr 1995
-0010-09-15T04:44:23 = Dydd Sadwrn, 15 Medi -10
Long
2008-02-05T18:30:30 = 5 Chwefror 2008
1995-12-22T09:05:02 = 22 Rhagfyr 1995
-0010-09-15T04:44:23 = 15 Medi -10
Medium
2008-02-05T18:30:30 = 5 Chwef 2008
1995-12-22T09:05:02 = 22 Rhag 1995
-0010-09-15T04:44:23 = 15 Medi -10
Short
2008-02-05T18:30:30 = 05/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/-10
β° 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 = Dydd Mawrth, 5 Chwefror 2008, 18:30:30 UTC
1995-12-22T09:05:02 = Dydd Gwener, 22 Rhagfyr 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = Dydd Sadwrn, 15 Medi -10, 04:44:23 UTC
Long
2008-02-05T18:30:30 = 5 Chwefror 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 Rhagfyr 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Medi -10, 04:44:23 UTC
Medium
Heads up β no comma in this one, it's just a space. The way that detail matters π₯
2008-02-05T18:30:30 = 5 Chwef 2008 18:30:30
1995-12-22T09:05:02 = 22 Rhag 1995 09:05:02
-0010-09-15T04:44:23 = 15 Medi -10 04:44:23
Short
2008-02-05T18:30:30 = 05/02/08 18:30
1995-12-22T09:05:02 = 22/12/95 09:05
-0010-09-15T04:44:23 = 15/09/-10 04:44
π Available Formats
Every single one, and yes we're going through all of them, don't scroll π
Bhβ patternh B
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
Bhmβ patternh: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β patternh: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β patternccc
2008-02-05T18:30:30 = Maw
1995-12-22T09:05:02 = Gwe
-0010-09-15T04:44:23 = Sad
EBhmβ patternE h:mm B
2008-02-05T18:30:30 = Maw 6:30 B
1995-12-22T09:05:02 = Gwen 9:05 B
-0010-09-15T04:44:23 = Sad 4:44 B
EBhmsβ patternE h:mm:ss B
2008-02-05T18:30:30 = Maw 6:30:30 B
1995-12-22T09:05:02 = Gwen 9:05:02 B
-0010-09-15T04:44:23 = Sad 4:44:23 B
EHmβ patternE, HH:mm
2008-02-05T18:30:30 = Maw, 18:30
1995-12-22T09:05:02 = Gwen, 09:05
-0010-09-15T04:44:23 = Sad, 04:44
EHmsβ patternE, HH:mm:ss
2008-02-05T18:30:30 = Maw, 18:30:30
1995-12-22T09:05:02 = Gwen, 09:05:02
-0010-09-15T04:44:23 = Sad, 04:44:23
Edβ patternd, E
2008-02-05T18:30:30 = 5, Maw
1995-12-22T09:05:02 = 22, Gwen
-0010-09-15T04:44:23 = 15, Sad
Ehmβ patternE, h:mm a
2008-02-05T18:30:30 = Maw, 6:30 PM
1995-12-22T09:05:02 = Gwen, 9:05 AM
-0010-09-15T04:44:23 = Sad, 4:44 AM
Ehmsβ patternE, h:mm:ss a
2008-02-05T18:30:30 = Maw, 6:30:30 PM
1995-12-22T09:05:02 = Gwen, 9:05:02 AM
-0010-09-15T04:44:23 = Sad, 4:44:23 AM
Gyβ patterny G
2008-02-05T18:30:30 = 2008 OC
1995-12-22T09:05:02 = 1995 OC
-0010-09-15T04:44:23 = -10 CC
GyMMMβ patternMMM y G
2008-02-05T18:30:30 = Chwef 2008 OC
1995-12-22T09:05:02 = Rhag 1995 OC
-0010-09-15T04:44:23 = Medi -10 CC
GyMMMEdβ patternE, d MMM y G
2008-02-05T18:30:30 = Maw, 5 Chwef 2008 OC
1995-12-22T09:05:02 = Gwen, 22 Rhag 1995 OC
-0010-09-15T04:44:23 = Sad, 15 Medi -10 CC
GyMMMdβ patternd MMM y G
2008-02-05T18:30:30 = 5 Chwef 2008 OC
1995-12-22T09:05:02 = 22 Rhag 1995 OC
-0010-09-15T04:44:23 = 15 Medi -10 CC
GyMdβ patternM/d/y GGGGG
2008-02-05T18:30:30 = 2/5/2008 O
1995-12-22T09:05:02 = 12/22/1995 O
-0010-09-15T04:44:23 = 9/15/-10 C
Hβ patternHH
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
Hmβ patternHH:mm
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
Hmsβ patternHH: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β patternHH: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β patternHH: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β patternL
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MEdβ patternE, d/M
2008-02-05T18:30:30 = Maw, 5/2
1995-12-22T09:05:02 = Gwen, 22/12
-0010-09-15T04:44:23 = Sad, 15/9
MMMβ patternLLL
2008-02-05T18:30:30 = Chw
1995-12-22T09:05:02 = Rhag
-0010-09-15T04:44:23 = Medi
MMMEdβ patternE, d MMM
2008-02-05T18:30:30 = Maw, 5 Chwef
1995-12-22T09:05:02 = Gwen, 22 Rhag
-0010-09-15T04:44:23 = Sad, 15 Medi
MMMMW-count-fewβ pattern'wythnos' W 'o' MMMM
2008-02-05T18:30:30 = wythnos 1 o Chwefror
1995-12-22T09:05:02 = wythnos 3 o Rhagfyr
-0010-09-15T04:44:23 = wythnos 2 o Medi
MMMMW-count-manyβ pattern'wythnos' W 'o' MMMM
2008-02-05T18:30:30 = wythnos 1 o Chwefror
1995-12-22T09:05:02 = wythnos 3 o Rhagfyr
-0010-09-15T04:44:23 = wythnos 2 o Medi
MMMMW-count-oneβ pattern'wythnos' W 'o' MMMM
2008-02-05T18:30:30 = wythnos 1 o Chwefror
1995-12-22T09:05:02 = wythnos 3 o Rhagfyr
-0010-09-15T04:44:23 = wythnos 2 o Medi
MMMMW-count-otherβ pattern'wythnos' W 'o' MMMM
2008-02-05T18:30:30 = wythnos 1 o Chwefror
1995-12-22T09:05:02 = wythnos 3 o Rhagfyr
-0010-09-15T04:44:23 = wythnos 2 o Medi
MMMMW-count-twoβ pattern'wythnos' W 'o' MMMM
2008-02-05T18:30:30 = wythnos 1 o Chwefror
1995-12-22T09:05:02 = wythnos 3 o Rhagfyr
-0010-09-15T04:44:23 = wythnos 2 o Medi
MMMMW-count-zeroβ pattern'wythnos' W 'o' MMMM
2008-02-05T18:30:30 = wythnos 1 o Chwefror
1995-12-22T09:05:02 = wythnos 3 o Rhagfyr
-0010-09-15T04:44:23 = wythnos 2 o Medi
MMMMdβ patternMMMM d
2008-02-05T18:30:30 = Chwefror 5
1995-12-22T09:05:02 = Rhagfyr 22
-0010-09-15T04:44:23 = Medi 15
MMMdβ patternd MMM
2008-02-05T18:30:30 = 5 Chwef
1995-12-22T09:05:02 = 22 Rhag
-0010-09-15T04:44:23 = 15 Medi
Mdβ patternd/M
2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9
dβ patternd
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
hβ patternh a
2008-02-05T18:30:30 = 6 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM
hmβ patternh:mm a
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
hmsβ patternh:mm:ss a
2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM
hmsvβ patternh:mm:ss a v
2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC
hmvβ patternh:mm a v
2008-02-05T18:30:30 = 6:30 PM UTC
1995-12-22T09:05:02 = 9:05 AM UTC
-0010-09-15T04:44:23 = 4:44 AM UTC
msβ patternmm:ss
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
yβ patterny
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yMβ patternM/y
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
yMEdβ patternE, d/M/y
2008-02-05T18:30:30 = Maw, 5/2/2008
1995-12-22T09:05:02 = Gwen, 22/12/1995
-0010-09-15T04:44:23 = Sad, 15/9/-10
yMMMβ patternMMM y
okay so the pattern we were just on finishes with these little outputs, no cap:
2008-02-05T18:30:30 = Chwef 2008
1995-12-22T09:05:02 = Rhag 1995
-0010-09-15T04:44:23 = Medi -10
yMMMEd (E, d MMM y) β weekday + day + month, and it's giving:
2008-02-05T18:30:30 = Maw, 5 Chwef 2008
1995-12-22T09:05:02 = Gwen, 22 Rhag 1995
-0010-09-15T04:44:23 = Sad, 15 Medi -10
yMMMM (MMMM y) β full month name moment:
2008-02-05T18:30:30 = Chwefror 2008
1995-12-22T09:05:02 = Rhagfyr 1995
-0010-09-15T04:44:23 = Medi -10
yMMMd (d MMM y) β day + short month + year, iconic:
2008-02-05T18:30:30 = 5 Chwef 2008
1995-12-22T09:05:02 = 22 Rhag 1995
-0010-09-15T04:44:23 = 15 Medi -10
yMd (d/M/y) β slashy date vibes:
2008-02-05T18:30:30 = 5/2/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/9/-10
yQ (Q y) β quarter + year, lowkey simple:
2008-02-05T18:30:30 = 1 2008
1995-12-22T09:05:02 = 4 1995
-0010-09-15T04:44:23 = 3 -10
yQQQ (QQQ y) β short quarter flex:
2008-02-05T18:30:30 = Ch1 2008
1995-12-22T09:05:02 = Ch4 1995
-0010-09-15T04:44:23 = Ch3 -10
yQQQQ (QQQQ y) β full quarter, main character energy:
2008-02-05T18:30:30 = chwarter 1af 2008
1995-12-22T09:05:02 = 4ydd chwarter 1995
-0010-09-15T04:44:23 = 3ydd chwarter -10
and the yw-count-* girlies are literally all serving the same outputs, just with their own grammatical labels β here they are, every single one:
yw-count-few ('wythnos' w 'o' Y)
2008-02-05T18:30:30 = wythnos 6 o 2008
1995-12-22T09:05:02 = wythnos 51 o 1995
-0010-09-15T04:44:23 = wythnos 37 o -10
yw-count-many ('wythnos' w 'o' Y)
2008-02-05T18:30:30 = wythnos 6 o 2008
1995-12-22T09:05:02 = wythnos 51 o 1995
-0010-09-15T04:44:23 = wythnos 37 o -10
yw-count-one ('wythnos' w 'o' Y)
2008-02-05T18:30:30 = wythnos 6 o 2008
1995-12-22T09:05:02 = wythnos 51 o 1995
-0010-09-15T04:44:23 = wythnos 37 o -10
yw-count-other ('wythnos' w 'o' Y)
2008-02-05T18:30:30 = wythnos 6 o 2008
1995-12-22T09:05:02 = wythnos 51 o 1995
-0010-09-15T04:44:23 = wythnos 37 o -10
yw-count-two ('wythnos' w 'o' Y)
2008-02-05T18:30:30 = wythnos 6 o 2008
1995-12-22T09:05:02 = wythnos 51 o 1995
-0010-09-15T04:44:23 = wythnos 37 o -10
yw-count-zero ('wythnos' w 'o' Y)
2008-02-05T18:30:30 = wythnos 6 o 2008
1995-12-22T09:05:02 = wythnos 51 o 1995
-0010-09-15T04:44:23 = wythnos 37 o -10
π Miscellaneous π
Prefers 24 hour time? Yes.
Local first day of the week: 1 (Dydd Llun).
π¦ Strftime Patterns π¦
%c (%a %b %e %H:%M:%S %Y) β date time format:
2008-02-05T18:30:30 = Maw Chwef 5 18:30:30 2008
1995-12-22T09:05:02 = Gwen Rhag 22 09:05:02 1995
-0010-09-15T04:44:23 = Sad Medi 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.
mwah π β footer tea, bestie: this one's from perl v5.42.0, dated 2024-12-12, and it's the DateTim...ale::cy(3) page. periodt π«Ά
π¦ 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