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 β€” pattern h B
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
  • Bhm β€” pattern 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 β€” pattern 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 β€” pattern ccc
2008-02-05T18:30:30 = Maw
1995-12-22T09:05:02 = Gwe
-0010-09-15T04:44:23 = Sad
  • EBhm β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern d, E
2008-02-05T18:30:30 = 5, Maw
1995-12-22T09:05:02 = 22, Gwen
-0010-09-15T04:44:23 = 15, Sad
  • Ehm β€” pattern 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 β€” pattern 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 β€” pattern y G
2008-02-05T18:30:30 = 2008 OC
1995-12-22T09:05:02 = 1995 OC
-0010-09-15T04:44:23 = -10 CC
  • GyMMM β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern HH
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
  • Hm β€” pattern HH:mm
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
  • Hms β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern L
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
  • MEd β€” pattern 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 β€” pattern LLL
2008-02-05T18:30:30 = Chw
1995-12-22T09:05:02 = Rhag
-0010-09-15T04:44:23 = Medi
  • MMMEd β€” pattern 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 β€” 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 β€” pattern MMMM d
2008-02-05T18:30:30 = Chwefror 5
1995-12-22T09:05:02 = Rhagfyr 22
-0010-09-15T04:44:23 = Medi 15
  • MMMd β€” pattern d MMM
2008-02-05T18:30:30 = 5 Chwef
1995-12-22T09:05:02 = 22 Rhag
-0010-09-15T04:44:23 = 15 Medi
  • Md β€” pattern d/M
2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9
  • d β€” pattern d
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
  • h β€” pattern h a
2008-02-05T18:30:30 = 6 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM
  • hm β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern mm:ss
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
  • y β€” pattern y
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
  • yM β€” pattern M/y
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
  • yMEd β€” pattern 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 β€” pattern MMM 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