DateTim...ale::it(3)

✨ NAME ✨

DateTime::Locale::it — locale data examples for the Italian (it) locale 💅

(that's DateTim...ale::it(3), from the User Contributed Perl Documentation section — the man name is just longer than your terminal's patience 🎀)


🦋 DESCRIPTION 🦋

Okay bestie, so this pod file is literally just a big ol' showcase — it contains examples of the locale data available for the Italian locale. That's it, that's the whole vibe. It's giving "here's what every single format looks like in Italian so you don't have to guess" ✨


🌸 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
ngl the two Ms are not a typo, that's genuinely what narrow looks like — martedì and mercoledì both start with M and narrow format does not care 😭

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

💖 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
the way narrow months are just one letter each and still manage to be ambiguous... main character energy honestly 👑

🎀 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
yes bestie, Full and Long are identical here — no cap, that's just what the data says 💀

🌈 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
lowkey obsessed with how Medium sneaks a comma in there but Full and Long don't 🎀

⭐ Available Formats

Okay this is the big one — every named format, with the pattern it maps to in parens, and the three sample timestamps. Strap in bestie 🧚

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
note how G gives you d.C. and GGGGG gives you dC — same era, different drip 💅

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 giving identical twins here — that's literally just the data, don't come for me 🙈

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)

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

okay and up next is yQQQQ (QQQQ y) — that one's rolling into part 2, so hold that thought bestie 🦋

...and the quarter era continues to eat, no notes 💅 the last of the quarter blocks is giving exactly this:

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

🗓️ week counting, but make it Italian

  • yw-count-one ('settimana' w 'del' Y) — the "week of the year" pattern, one flavour. 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) — and the other flavour, which here is literally identical because that's just how Italian rolls, bestie. Same pattern, same energy:
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
not me showing you the exact same block twice like it's a plot twist 😭 it's not a typo, both count variants exist and both are slaying the same way 🫶

✨ Miscellaneous ✨

The little setting details that tell you everything about this locale's personality:

  • Prefers 24 hour time? Yes — 24-hour girlie fr fr, no am/pm chaos here 🕕
  • Local first day of the week — 1 (lunedì) — Monday is the main character, periodt 👑

🌈 Strftime Patterns 🌈

These are the classic strftime escapes and what they spit out in this locale. Iconic, honestly:

  • %c (%a %b %e %H:%M:%S %Y) — the date time format, the full fit:
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) — the date format, short and sweet:
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, just the clock doing her thing:
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
bestie please clock that %c on a negative year gives sab set 15 and there's a double space in feb 5 — that's the %e padding being her authentic self, don't "fix" it 🙈

🫶 SUPPORT 🫶

See DateTime::Locale. That's it, that's the whole support section — she's lowkey keeping it mysterious 💜


🌸 and that's a wrap on the Italian locale data tour! This little pod was served fresh by perl v5.42.0 and stamped 2024-12-12 — remembered with love in this very cute sign-off instead of a boring footer line. ciao ciao, go format something gorgeous 💅✨🎀

📦 where this page comes from