DateTim...e::cy_GB(3)

πŸŽ€ NAME πŸŽ€

DateTime::Locale::cy_GB β€” locale data examples for the Welsh United Kingdom (cy-GB) locale πŸ’–

(and yeah, it's a User Contributed Perl Documentation page, if you were wondering where it came from πŸ‘‘)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, this pod file is literally a showcase β€” it's just packed with examples of the locale data you get for the Welsh United Kingdom locale. No cap, that's the whole vibe. It's the "here's what it actually looks like" page ✨


🌸 Days

Wide (format)

Dydd Llun
Dydd Mawrth
Dydd Mercher
Dydd Iau
Dydd Gwener
Dydd Sadwrn
Dydd Sul

Abbreviated (format)

Llun
Maw
Mer
Iau
Gwen
Sad
Sul

Narrow (format)

Ll
M
M
I
G
S
S
okay don't come for the narrow list πŸ’€ yes there are two Ms and two Ss β€” that's exactly what the data says, I'm not fixing it, I'm just reporting it 🫢

Wide (stand-alone)

Dydd Llun
Dydd Mawrth
Dydd Mercher
Dydd Iau
Dydd Gwener
Dydd Sadwrn
Dydd Sul

Abbreviated (stand-alone)

Llun
Maw
Mer
Iau
Gwe
Sad
Sul
little detail bestie β€” stand-alone Gwe vs format Gwen for Friday. the way that one letter just dips 😭 iconic.

Narrow (stand-alone)

Ll
M
M
I
G
S
S

πŸŒ™ Months

Wide (format)

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)

Ion
Chw
Maw
Ebr
Mai
Meh
Gor
Awst
Medi
Hyd
Tach
Rhag
and again with the tiny differences β€” stand-alone goes Chw and Gor, format goes Chwef and Gorff. bestie the attention to detail, we love to see it πŸ’…

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)

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
notice quarters and eras only get format narrowness here β€” no stand-alone variants for eras, that's just how it is bestie πŸ€·β€β™€οΈ

🌈 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

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

bestie this is the big one β€” every single named pattern, with the exact pattern next to it, and the three same sample datetimes run through each one 🫢

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 = Maw
1995-12-22T09:05:02 = Gwe
-0010-09-15T04:44:23 = Sad

EBhm (E 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 (E 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 (E, 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 (E, 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 (d, E)

2008-02-05T18:30:30 = 5, Maw
1995-12-22T09:05:02 = 22, Gwen
-0010-09-15T04:44:23 = 15, Sad

Ehm (E, 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 (E, 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 (y G)

2008-02-05T18:30:30 = 2008 OC
1995-12-22T09:05:02 = 1995 OC
-0010-09-15T04:44:23 = -10 CC

GyMMM (MMM 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 (E, 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 (d 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 (M/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 (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 (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 (L)

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

MEd (E, 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 (LLL)

2008-02-05T18:30:30 = Chw
1995-12-22T09:05:02 = Rhag
-0010-09-15T04:44:23 = Medi

MMMEd (E, 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 ('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 ('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 ('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 ('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 ('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 ('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
yeah bestie, all six of those MMMMW-count-* variants list the exact same pattern and the exact same output β€” that's the data, and I'm telling you exactly what it says, no editing πŸ’…

MMMMd (MMMM d)

2008-02-05T18:30:30 = Chwefror 5
1995-12-22T09:05:02 = Rhagfyr 22
-0010-09-15T04:44:23 = Medi 15

MMMd (d MMM)

2008-02-05T18:30:30 = 5 Chwef
1995-12-22T09:05:02 = 22 Rhag
-0010-09-15T04:44:23 = 15 Medi

Md (d/M)

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

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 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM

hm (h: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 (h: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 (h: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 (h: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 (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 (M/y)

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

yMEd (E, 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 (MMM y)

yMMM (MMM y) πŸ—“οΈ

month-and-year energy, with the month in its short-and-sweet abbreviation era:

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) πŸŽ€

the full "what day even is it" combo β€” weekday, day, short month, year:

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) 🌸

now we're spelling the month out fully, no abbreviations, main character behaviour only:

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 first, then the short month, then the year β€” the everyday order, lowkey 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) πŸ’…

the short numeric one everybody actually types β€” day/month/year with slashes:

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) πŸ”’

just the quarter number and the year, minimal and mysterious:

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

yQQQ (QQQ y) ⭐

the quarter but abbreviated, Ch style:

2008-02-05T18:30:30 = Ch1 2008
1995-12-22T09:05:02 = Ch4 1995
-0010-09-15T04:44:23 = Ch3 -10

yQQQQ (QQQQ y) πŸ‘‘

the full dramatic quarter announcement β€” with ordinal suffixes and everything:

2008-02-05T18:30:30 = chwarter 1af 2008
1995-12-22T09:05:02 = 4ydd chwarter 1995
-0010-09-15T04:44:23 = 3ydd chwarter -10

now the whole yw-count-* family β€” six flavours of "week N of year N" and ngl they all print the exact same thing in this locale 😭 Welsh plural rules said "we're all wythnos here" and honestly? slay. every single one of them:

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 πŸ¦‹

couple of quick vibe checks on this locale:

  • Prefers 24 hour time? β€” Yes ⏰ (no a.m./p.m. silliness here, we do not play that game)
  • Local first day of the week β€” 1 (Dydd Llun) 🫢 Monday girlies rise

🌈 Strftime Patterns 🌈

yep, it's got the classic strftime situation going on too β€” here's the tea:

%c (Dydd %A %d mis %B %Y %T %Z) β€” date time format πŸ’–

the full date-and-time flex, it's giving formal invitation:

2008-02-05T18:30:30 = Dydd Dydd Mawrth 05 mis Chwefror 2008 18:30:30 UTC
1995-12-22T09:05:02 = Dydd Dydd Gwener 22 mis Rhagfyr 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Dydd Dydd Sadwrn 15 mis Medi -10 04:44:23 UTC
yes bestie, Dydd literally shows up twice β€” that's the pattern (Dydd %A), not a typo, don't come for me 😭

%x (%d.%m.%y) β€” date format πŸŽ€

dots instead of slashes, tiny year, chef's kiss:

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 ⭐

just hours, minutes, seconds β€” 24 hour style, obviously:

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 it, that's the whole support section β€” go read that one, it's got all the locale lore 🧚


okay that's the whole page, you made it to the end, so proud of you fr fr 🫢 this was DateTim...e::cy_GB(3) β€” yes the name is genuinely abbreviated like that in the header, no we cannot fix it β€” shipped as part of perl v5.42.0, dated 2024-12-12, and the Welsh locale said "dydd da" and went to bed πŸ’…βœ¨

πŸ“¦ where this page comes from