DateTim...ale::rm(3)

πŸ’… DateTime::Locale::rm(3) β€” User Contributed Perl Documentation

okay bestie, welcome to the Romansh (rm) locale data page πŸ’– this is DateTime::Locale::rm, straight out of the User Contributed Perl Documentation, and it's literally just a big glossy showroom of every example string this locale can give you. no cap.


✨ NAME ✨

DateTime::Locale::rm β€” Locale data examples for the Romansh (rm) locale πŸ¦‹


🌸 DESCRIPTION 🌸

so this pod file is like the mood board for the Romansh locale β€” it's packed with examples of all the locale data you get. no behaviour explanations, just look at all these gorgeous pre-rendered strings ✨ everything below is literally what comes out.

πŸŽ€ Days

Wide (format)

the full-day names, used in a formatted date, bestie:

glindesdi
mardi
mesemna
gievgia
venderdi
sonda
dumengia

Abbreviated (format)

same seven days but make them snack-sized:

gli
ma
me
gie
ve
so
du

Narrow (format)

single-letter era β€” yes, there are two Ms and two Gs in there, that's not a typo, that's just how the narrow forms are 😌

G
M
M
G
V
S
D

Wide (stand-alone)

standing on their own, still full-length:

glindesdi
mardi
mesemna
gievgia
venderdi
sonda
dumengia

Abbreviated (stand-alone)

the little ones, alone this time:

gli
ma
me
gie
ve
so
du

Narrow (stand-alone)

and the single letters, solo:

G
M
M
G
V
S
D

πŸ¦‹ Months

Wide (format)

twelve months, full glamour, and yes β€” some of them start with da and some start with d’ (curly apostrophe, we don't do straight quotes here πŸ’…):

da schaner
da favrer
da mars
d’avrigl
da matg
da zercladur
da fanadur
d’avust
da settember
da october
da november
da december

Abbreviated (format)

the shortened icons β€” note the little periods on some of them:

schan.
favr.
mars
avr.
matg
zercl.
fan.
avust
sett.
oct.
nov.
dec.

Narrow (format)

one letter each, and yeah M, A, F pull double duty. it's giving minimalist 🌈

S
F
M
A
M
Z
F
A
S
O
N
D

Wide (stand-alone)

full names, no da/d’ prefix this time β€” just the month itself:

schaner
favrer
mars
avrigl
matg
zercladur
fanadur
avust
settember
october
november
december

Abbreviated (stand-alone)

short forms doing their own thing:

schan.
favr.
mars
avr.
matg
zercl.
fan.
avust
sett.
oct.
nov.
dec.

Narrow (stand-alone)

single letters, unbothered:

S
F
M
A
M
Z
F
A
S
O
N
D

🧚 Quarters

Wide (format)

the four quarters, fully spelled out:

1. quartal
2. quartal
3. quartal
4. quartal

Abbreviated (format)

Q plus the number, iconic:

Q1
Q2
Q3
Q4

Narrow (format)

just the digit, periodt:

1
2
3
4

Wide (stand-alone)

same four, standing 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)

only two eras, and they're before/after Cristus:

avant Cristus
suenter Cristus

Abbreviated (format)

av. Cr.
s. Cr.

Narrow (format)

lowkey identical to the abbreviated ones, and that's fine:

av. Cr.
s. Cr.

πŸ”₯ Date Formats

Full

the whole main-character date, weekday included:

 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

weekday? gone. everything else stays gorgeous:

 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

all numbers, all dashes β€” and yes, that negative year really renders as 15-09--10 😭 keep it exactly:

 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

two-digit years, tiny and cute:

 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

hours, minutes, seconds, and a UTC for the vibes:

 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

no cap, this one is identical to 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

Medium

same times, UTC dropped:

 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

hours and minutes only, we're keeping it brief:

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

πŸ’œ Datetime Formats

Full

date and time, fully dressed:

 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

long date, full time:

 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

numbers only, still includes seconds:

 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

the itty-bitty one:

 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 is the big one β€” every named format pattern, with the pattern in parentheses and three worked examples each. buckle up, 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 so the page cuts off right here mid-format 😭 the pattern is E, dd-MM-y and there are more format entries coming your way in the next part β€” don't touch that dial, bestie πŸ’–

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

yMMMM (LLLL y) 🌸

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

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

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

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

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

2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10

yQQQQ (QQQQ y) πŸ‘‘

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

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

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 πŸ’š
  • Local first day of the week β€” 1 (glindesdi)

⭐ Strftime Patterns

%c (%a %b %e %H:%M:%S %Y) β€” 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) β€” 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.


okay bestie that's literally the whole thing, you ate that πŸ’…βœ¨ this page is perl v5.42.0, dated 2024-12-12, and it lives at DateTim...ale::rm(3) β€” go forth and format dates in Romansh, no cap πŸ«ΆπŸ’–

πŸ“¦ where this page comes from