DateTim...e::it_SM(3)

🌸 DateTim...e::it_SM — User Contributed Perl Documentation 🌸

okay so real talk, the page header up there is squished to DateTim...e::it_SM(3) because the real name is too long for one line, and it lives under "User Contributed Perl Documentation." That's the whole header situation, bestie — now let's get into it 💅


✨ NAME ✨

DateTime::Locale::it_SM — locale data examples for the Italian San Marino (it-SM) locale. That's the vibe. 🎀


💖 DESCRIPTION 💖

This pod file is literally a showcase, no cap — it's packed with examples of all the locale data you get for the Italian San Marino locale. Every string, every format, every little detail. Let's go 🦋

🗓️ Days

Wide (format)

lunedì
martedì
mercoledì
giovedì
venerdì
sabato
domenica

Abbreviated (format)

lun
mar
mer
gio
ven
sab
dom

Narrow (format)

L
M
M
G
V
S
D

Wide (stand-alone)

lunedì
martedì
mercoledì
giovedì
venerdì
sabato
domenica

Abbreviated (stand-alone)

lun
mar
mer
gio
ven
sab
dom

Narrow (stand-alone)

L
M
M
G
V
S
D
yes bestie, there are two Ms in the narrow list. that's literally what the data says, not a typo, don't come for me 💀

🌙 Months

Wide (format)

gennaio
febbraio
marzo
aprile
maggio
giugno
luglio
agosto
settembre
ottobre
novembre
dicembre

Abbreviated (format)

gen
feb
mar
apr
mag
giu
lug
ago
set
ott
nov
dic

Narrow (format)

G
F
M
A
M
G
L
A
S
O
N
D

Wide (stand-alone)

gennaio
febbraio
marzo
aprile
maggio
giugno
luglio
agosto
settembre
ottobre
novembre
dicembre

Abbreviated (stand-alone)

gen
feb
mar
apr
mag
giu
lug
ago
set
ott
nov
dic

Narrow (stand-alone)

G
F
M
A
M
G
L
A
S
O
N
D
narrow months repeat too (M, G, A twice each) — same energy, it's the data ✨

🎀 Quarters

Wide (format)

1º trimestre
2º trimestre
3º trimestre
4º trimestre

Abbreviated (format)

T1
T2
T3
T4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1º trimestre
2º trimestre
3º trimestre
4º trimestre

Abbreviated (stand-alone)

T1
T2
T3
T4

Narrow (stand-alone)

1
2
3
4

👑 Eras

Wide (format)

avanti Cristo
dopo Cristo

Abbreviated (format)

a.C.
d.C.

Narrow (format)

aC
dC

💫 Date Formats

Full

2008-02-05T18:30:30 = martedì 5 febbraio 2008
1995-12-22T09:05:02 = venerdì 22 dicembre 1995
-0010-09-15T04:44:23 = sabato 15 settembre -10

Long

2008-02-05T18:30:30 = 5 febbraio 2008
1995-12-22T09:05:02 = 22 dicembre 1995
-0010-09-15T04:44:23 = 15 settembre -10

Medium

2008-02-05T18:30:30 = 5 feb 2008
1995-12-22T09:05:02 = 22 dic 1995
-0010-09-15T04:44:23 = 15 set -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
Full and Long are giving identical right now 👀 that's just what they are, no cap

🌈 Datetime Formats

Full

2008-02-05T18:30:30 = martedì 5 febbraio 2008 18:30:30 UTC
1995-12-22T09:05:02 = venerdì 22 dicembre 1995 09:05:02 UTC
-0010-09-15T04:44:23 = sabato 15 settembre -10 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 febbraio 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 dicembre 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 settembre -10 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 5 feb 2008, 18:30:30
1995-12-22T09:05:02 = 22 dic 1995, 09:05:02
-0010-09-15T04:44:23 = 15 set -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 is the big one, bestie — every single named format, with its pattern in parentheses and three example timestamps. Obsessed. 🫶

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 = mar
1995-12-22T09:05:02 = ven
-0010-09-15T04:44:23 = sab

EBhm (E h:mm B)

2008-02-05T18:30:30 = mar 6:30 B
1995-12-22T09:05:02 = ven 9:05 B
-0010-09-15T04:44:23 = sab 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = mar 6:30:30 B
1995-12-22T09:05:02 = ven 9:05:02 B
-0010-09-15T04:44:23 = sab 4:44:23 B

EHm (E HH:mm)

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

EHms (E HH:mm:ss)

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

Ed (E d)

2008-02-05T18:30:30 = mar 5
1995-12-22T09:05:02 = ven 22
-0010-09-15T04:44:23 = sab 15

Ehm (E h:mm a)

2008-02-05T18:30:30 = mar 6:30 PM
1995-12-22T09:05:02 = ven 9:05 AM
-0010-09-15T04:44:23 = sab 4:44 AM

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = mar 6:30:30 PM
1995-12-22T09:05:02 = ven 9:05:02 AM
-0010-09-15T04:44:23 = sab 4:44:23 AM

Gy (y G)

2008-02-05T18:30:30 = 2008 d.C.
1995-12-22T09:05:02 = 1995 d.C.
-0010-09-15T04:44:23 = -10 a.C.

GyMMM (MMM y G)

2008-02-05T18:30:30 = feb 2008 d.C.
1995-12-22T09:05:02 = dic 1995 d.C.
-0010-09-15T04:44:23 = set -10 a.C.

GyMMMEd (E d MMM y G)

2008-02-05T18:30:30 = mar 5 feb 2008 d.C.
1995-12-22T09:05:02 = ven 22 dic 1995 d.C.
-0010-09-15T04:44:23 = sab 15 set -10 a.C.

GyMMMd (d MMM y G)

2008-02-05T18:30:30 = 5 feb 2008 d.C.
1995-12-22T09:05:02 = 22 dic 1995 d.C.
-0010-09-15T04:44:23 = 15 set -10 a.C.

GyMd (dd/MM/y GGGGG)

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

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 = mar 05/02
1995-12-22T09:05:02 = ven 22/12
-0010-09-15T04:44:23 = sab 15/09

MMM (LLL)

2008-02-05T18:30:30 = feb
1995-12-22T09:05:02 = dic
-0010-09-15T04:44:23 = set

MMMEd (E d MMM)

2008-02-05T18:30:30 = mar 5 feb
1995-12-22T09:05:02 = ven 22 dic
-0010-09-15T04:44:23 = sab 15 set

MMMMW-count-one ('settimana' W 'di' MMMM)

2008-02-05T18:30:30 = settimana 1 di febbraio
1995-12-22T09:05:02 = settimana 3 di dicembre
-0010-09-15T04:44:23 = settimana 2 di settembre

MMMMW-count-other ('settimana' W 'di' MMMM)

2008-02-05T18:30:30 = settimana 1 di febbraio
1995-12-22T09:05:02 = settimana 3 di dicembre
-0010-09-15T04:44:23 = settimana 2 di settembre
count-one and count-other are twinning, same output, different plural category names — and yes both need to be here 💅

MMMMd (d MMMM)

2008-02-05T18:30:30 = 5 febbraio
1995-12-22T09:05:02 = 22 dicembre
-0010-09-15T04:44:23 = 15 settembre

MMMd (d MMM)

2008-02-05T18:30:30 = 5 feb
1995-12-22T09:05:02 = 22 dic
-0010-09-15T04:44:23 = 15 set

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 (MM/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 = mar 05/02/2008
1995-12-22T09:05:02 = ven 22/12/1995
-0010-09-15T04:44:23 = sab 15/09/-10

yMMM (MMM y)

2008-02-05T18:30:30 = feb 2008
1995-12-22T09:05:02 = dic 1995
-0010-09-15T04:44:23 = set -10

yMMMEd (E d MMM y)

2008-02-05T18:30:30 = mar 5 feb 2008
1995-12-22T09:05:02 = ven 22 dic 1995
-0010-09-15T04:44:23 = sab 15 set -10

yMMMM (MMMM y)

2008-02-05T18:30:30 = febbraio 2008
1995-12-22T09:05:02 = dicembre 1995
-0010-09-15T04:44:23 = settembre -10

yMMMd (d MMM y)

2008-02-05T18:30:30 = 5 feb 2008
1995-12-22T09:05:02 = 22 dic 1995
-0010-09-15T04:44:23 = 15 set -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)

and that's exactly where the page cuts off — yQQQ shows up and then… nothing. Hold that thought, because part 2 is right behind it 💀🫶

…okay so the examples from the pattern we were just doing, finishing up right here — don't leave them hanging bestie 💅

2008-02-05T18:30:30 = T1 2008
1995-12-22T09:05:02 = T4 1995
-0010-09-15T04:44:23 = T3 -10

🎀 yQQQQ (QQQQ y)

The quarter, but spelled all the way out, sitting next to the year. Very demure, very 1º trimestre ✨

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

🦋 yw-count-one ('settimana' w 'del' Y)

Week number + year, the "one" flavour of the plural rules. Look at her go 🫶

2008-02-05T18:30:30 = settimana 6 del 2008
1995-12-22T09:05:02 = settimana 51 del 1995
-0010-09-15T04:44:23 = settimana 37 del -10

🌸 yw-count-other ('settimana' w 'del' Y)

Same vibe, the "other" plural form — and yeah, the output is literally identical to yw-count-one here, because that's just how Italian rolls, no cap 💀

2008-02-05T18:30:30 = settimana 6 del 2008
1995-12-22T09:05:02 = settimana 51 del 1995
-0010-09-15T04:44:23 = settimana 37 del -10

🌈 Miscellaneous 🌈

The little settings that live in the corner of the group chat 🧚

  • Prefers 24 hour time? — Yes 👑
  • Local first day of the week — 1 (lunedì)

✨ Strftime Patterns ✨

These are the classic strftime-style shortcuts, and honestly? Iconic. Obsessed. Here's every one, with the receipts 🔥

💜 %c (%a %b %e %H:%M:%S %Y) - date time format

The whole date and the whole time, all in one. Main character energy fr fr 🎀

2008-02-05T18:30:30 = mar feb  5 18:30:30 2008
1995-12-22T09:05:02 = ven dic 22 09:05:02 1995
-0010-09-15T04:44:23 = sab set 15 04:44:23 -10

💜 %x (%m/%d/%y) - date format

Just the date, short and sweet — slay 💅

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

Just the time, and yes bestie, it's the 24-hour clock — that's the whole point ✨

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 system 💖


and that's the page, bestie — go forth and format some dates 🌸 this one shipped as perl v5.42.0, dated 2024-12-12, filed under DateTim...e::it_SM(3) (the truncated name is doing its own thing, honestly kind of a mood 💀). mwah, ily, bye 🦋

📦 where this page comes from