DateTim...e::rm_CH(3)
π NAME π
DateTime::Locale::rm_CH β Locale data examples for the Romansh Switzerland (rm-CH) locale
(also known as the DateTim...e::rm_CH(3) page from User Contributed Perl Documentation, section 3, iykyk π«Ά)
β¨ DESCRIPTION β¨
Okay bestie so this pod file is literally just a showcase β it contains examples of the locale data that's available for the Romansh Switzerland locale. Not the whole implementation, just the vibes of the data. Slay. π
π¦ Days
Wide (format)
glindesdi
mardi
mesemna
gievgia
venderdi
sonda
dumengia
Abbreviated (format)
gli
ma
me
gie
ve
so
du
Narrow (format)
G
M
M
G
V
S
D
Wide (stand-alone)
glindesdi
mardi
mesemna
gievgia
venderdi
sonda
dumengia
Abbreviated (stand-alone)
gli
ma
me
gie
ve
so
du
Narrow (stand-alone)
G
M
M
G
V
S
D
πΈ Months
Wide (format)
da schaner
da favrer
da mars
dβavrigl
da matg
da zercladur
da fanadur
dβavust
da settember
dβoctober
da november
da december
Abbreviated (format)
schan.
favr.
mars
avr.
matg
zercl.
fan.
avust
sett.
oct.
nov.
dec.
Narrow (format)
S
F
M
A
M
Z
F
A
S
O
N
D
Wide (stand-alone)
schaner
favrer
mars
avrigl
matg
zercladur
fanadur
avust
settember
october
november
december
Abbreviated (stand-alone)
schan.
favr.
mars
avr.
matg
zercl.
fan.
avust
sett.
oct.
nov.
dec.
Narrow (stand-alone)
S
F
M
A
M
Z
F
A
S
O
N
D
Obsessed with the fact thatdβavriglanddβavusthave that little curly apostrophe, not a plain one. Character for character, no cap. π₯
π Quarters
Wide (format)
1. quartal
2. quartal
3. quartal
4. quartal
Abbreviated (format)
Q1
Q2
Q3
Q4
Narrow (format)
1
2
3
4
Wide (stand-alone)
1. quartal
2. quartal
3. quartal
4. quartal
Abbreviated (stand-alone)
Q1
Q2
Q3
Q4
Narrow (stand-alone)
1
2
3
4
β Eras
Wide (format)
avant Cristus
suenter Cristus
Abbreviated (format)
av. Cr.
s. Cr.
Narrow (format)
av. Cr.
s. Cr.
π Date Formats
Full
2008-02-05T18:30:30 = mardi, ils 5 da favrer 2008
1995-12-22T09:05:02 = venderdi, ils 22 da december 1995
-0010-09-15T04:44:23 = sonda, ils 15 da settember -10
Long
2008-02-05T18:30:30 = 5 da favrer 2008
1995-12-22T09:05:02 = 22 da december 1995
-0010-09-15T04:44:23 = 15 da settember -10
Medium
2008-02-05T18:30:30 = 05-02-2008
1995-12-22T09:05:02 = 22-12-1995
-0010-09-15T04:44:23 = 15-09--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
Not the double dash in 15-09--10 π that's the negative year being its whole dramatic self. That's not a typo, bestie β it's literally what the data says.
π§ 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 = mardi, ils 5 da favrer 2008 18:30:30 UTC
1995-12-22T09:05:02 = venderdi, ils 22 da december 1995 09:05:02 UTC
-0010-09-15T04:44:23 = sonda, ils 15 da settember -10 04:44:23 UTC
Long
2008-02-05T18:30:30 = 5 da favrer 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 da december 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 da settember -10 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 05-02-2008 18:30:30
1995-12-22T09:05:02 = 22-12-1995 09:05:02
-0010-09-15T04:44:23 = 15-09--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
Okay this next part is the big one β it's every named format pattern the locale ships, with the pattern in parens and the render for our three iconic test timestamps. Napkin out, we're going through all of them. π
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 = ma
1995-12-22T09:05:02 = ve
-0010-09-15T04:44:23 = so
EBhm (E h:mm B)
2008-02-05T18:30:30 = ma 6:30 B
1995-12-22T09:05:02 = ve 9:05 B
-0010-09-15T04:44:23 = so 4:44 B
EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = ma 6:30:30 B
1995-12-22T09:05:02 = ve 9:05:02 B
-0010-09-15T04:44:23 = so 4:44:23 B
EHm (E HH:mm)
2008-02-05T18:30:30 = ma 18:30
1995-12-22T09:05:02 = ve 09:05
-0010-09-15T04:44:23 = so 04:44
EHms (E HH:mm:ss)
2008-02-05T18:30:30 = ma 18:30:30
1995-12-22T09:05:02 = ve 09:05:02
-0010-09-15T04:44:23 = so 04:44:23
Ed (E d.)
2008-02-05T18:30:30 = ma 5.
1995-12-22T09:05:02 = ve 22.
-0010-09-15T04:44:23 = so 15.
Ehm (E h:mm a)
2008-02-05T18:30:30 = ma 6:30 PM
1995-12-22T09:05:02 = ve 9:05 AM
-0010-09-15T04:44:23 = so 4:44 AM
Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = ma 6:30:30 PM
1995-12-22T09:05:02 = ve 9:05:02 AM
-0010-09-15T04:44:23 = so 4:44:23 AM
Gy (y G)
2008-02-05T18:30:30 = 2008 s. Cr.
1995-12-22T09:05:02 = 1995 s. Cr.
-0010-09-15T04:44:23 = -10 av. Cr.
GyMMM (LLL y G)
2008-02-05T18:30:30 = favr. 2008 s. Cr.
1995-12-22T09:05:02 = dec. 1995 s. Cr.
-0010-09-15T04:44:23 = sett. -10 av. Cr.
GyMMMEd (E, dd-MM-y GGGGG)
2008-02-05T18:30:30 = ma, 05-02-2008 s. Cr.
1995-12-22T09:05:02 = ve, 22-12-1995 s. Cr.
-0010-09-15T04:44:23 = so, 15-09--10 av. Cr.
GyMMMMEd (E, d MMMM y G)
2008-02-05T18:30:30 = ma, 5 da favrer 2008 s. Cr.
1995-12-22T09:05:02 = ve, 22 da december 1995 s. Cr.
-0010-09-15T04:44:23 = so, 15 da settember -10 av. Cr.
GyMMMMd (d MMMM y G)
2008-02-05T18:30:30 = 5 da favrer 2008 s. Cr.
1995-12-22T09:05:02 = 22 da december 1995 s. Cr.
-0010-09-15T04:44:23 = 15 da settember -10 av. Cr.
GyMMMd (dd-MM-y GGGGG)
2008-02-05T18:30:30 = 05-02-2008 s. Cr.
1995-12-22T09:05:02 = 22-12-1995 s. Cr.
-0010-09-15T04:44:23 = 15-09--10 av. Cr.
GyMd (dd-MM-y GGGGG)
2008-02-05T18:30:30 = 05-02-2008 s. Cr.
1995-12-22T09:05:02 = 22-12-1995 s. Cr.
-0010-09-15T04:44:23 = 15-09--10 av. Cr.
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, dd-MM)
2008-02-05T18:30:30 = ma, 05-02
1995-12-22T09:05:02 = ve, 22-12
-0010-09-15T04:44:23 = so, 15-09
MMM (LLL)
2008-02-05T18:30:30 = favr.
1995-12-22T09:05:02 = dec.
-0010-09-15T04:44:23 = sett.
MMMEd (E, dd-MM)
2008-02-05T18:30:30 = ma, 05-02
1995-12-22T09:05:02 = ve, 22-12
-0010-09-15T04:44:23 = so, 15-09
MMMMEd (E, d MMMM)
2008-02-05T18:30:30 = ma, 5 da favrer
1995-12-22T09:05:02 = ve, 22 da december
-0010-09-15T04:44:23 = so, 15 da settember
MMMMW-count-one (W. 'emna' MMMM)
2008-02-05T18:30:30 = 1. emna da favrer
1995-12-22T09:05:02 = 3. emna da december
-0010-09-15T04:44:23 = 2. emna da settember
MMMMW-count-other (W. 'emna' MMMM)
2008-02-05T18:30:30 = 1. emna da favrer
1995-12-22T09:05:02 = 3. emna da december
-0010-09-15T04:44:23 = 2. emna da settember
MMMMd (d MMMM)
2008-02-05T18:30:30 = 5 da favrer
1995-12-22T09:05:02 = 22 da december
-0010-09-15T04:44:23 = 15 da settember
MMMd (dd-MM)
2008-02-05T18:30:30 = 05-02
1995-12-22T09:05:02 = 22-12
-0010-09-15T04:44:23 = 15-09
Md (dd-MM)
2008-02-05T18:30:30 = 05-02
1995-12-22T09:05:02 = 22-12
-0010-09-15T04:44:23 = 15-09
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 (LL-y)
2008-02-05T18:30:30 = 02-2008
1995-12-22T09:05:02 = 12-1995
-0010-09-15T04:44:23 = 09--10
yMEd (E, dd-MM-y)
2008-02-05T18:30:30 = ma, 05-02-2008
1995-12-22T09:05:02 = ve, 22-12-1995
-0010-09-15T04:44:23 = so, 15-09--10
yMMM (LLL y)
2008-02-05T18:30:30 = favr. 2008
1995-12-22T09:05:02 = dec. 1995
-0010-09-15T04:44:23 = sett. -10
yMMMEd (E, dd-MM-y)
okay that's where part 1 stops, bestie β part 2 picks up right here with the rest of yMMMEd and the formats after it, so don't go anywhere π«Άπ
...and the last one from part 1 finishes out like this, fr:
2008-02-05T18:30:30 = ma, 05-02-2008
1995-12-22T09:05:02 = ve, 22-12-1995
-0010-09-15T04:44:23 = so, 15-09--10
Ok bestie, continuing the pattern parade π every single one, no skips:
yMMMM (LLLL y) β month + year, lowkey gorgeous:
2008-02-05T18:30:30 = favrer 2008
1995-12-22T09:05:02 = december 1995
-0010-09-15T04:44:23 = settember -10
yMMMMEd (E, d MMMM y) β weekday, day, full month, year:
2008-02-05T18:30:30 = ma, 5 da favrer 2008
1995-12-22T09:05:02 = ve, 22 da december 1995
-0010-09-15T04:44:23 = so, 15 da settember -10
yMMMMd (d MMMM y) β day + full month + year:
2008-02-05T18:30:30 = 5 da favrer 2008
1995-12-22T09:05:02 = 22 da december 1995
-0010-09-15T04:44:23 = 15 da settember -10
yMMMd (dd-MM-y) β the classic numeric one, iconique:
2008-02-05T18:30:30 = 05-02-2008
1995-12-22T09:05:02 = 22-12-1995
-0010-09-15T04:44:23 = 15-09--10
yMd (dd-MM-y) β yeah it's the same pattern as yMMMd, and no I'm not messing with you, that's literally what's written πΈ:
2008-02-05T18:30:30 = 05-02-2008
1995-12-22T09:05:02 = 22-12-1995
-0010-09-15T04:44:23 = 15-09--10
yQQQ (QQQ y) β abbreviated quarter energy:
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
yQQQQ (QQQQ y) β full quarter, spelled all the way out:
2008-02-05T18:30:30 = 1. quartal 2008
1995-12-22T09:05:02 = 4. quartal 1995
-0010-09-15T04:44:23 = 3. quartal -10
yw-count-one (w. 'dal' Y) β week-of-year, singular flavor π:
2008-02-05T18:30:30 = 6. dal 2008
1995-12-22T09:05:02 = 51. dal 1995
-0010-09-15T04:44:23 = 37. dal -10
yw-count-other (w. 'emna' 'dal' Y) β week-of-year, the "other" plural flavor:
2008-02-05T18:30:30 = 6. emna dal 2008
1995-12-22T09:05:02 = 51. emna dal 1995
-0010-09-15T04:44:23 = 37. emna dal -10
π Miscellaneous π
- Prefers 24 hour time? β Yes. No AM/PM shenanigans here, we do not stan.
- Local first day of the week β
1(glindesdi). Monday girlies rise π«Ά
β¨ Strftime Patterns β¨
%c(%a %b %e %H:%M:%S %Y) β the date time format:
2008-02-05T18:30:30 = ma favr. 5 18:30:30 2008
1995-12-22T09:05:02 = ve dec. 22 09:05:02 1995
-0010-09-15T04:44:23 = so sett. 15 04:44:23 -10
%x(%m/%d/%y) β the 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) β the 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. That's the whole support section, bestie β short and sweet, we love a low-effort queen π
That's the page!! π Brought to you by perl v5.42.0, dated 2024-12-12, and yes the page name got truncated to DateTim...e::rm_CH(3) because even the manpage headers have main character energy. Slay, go format some dates in Romansh β¨π¦
π¦ 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