DateTim...ale::sc(3)

💅 NAME — DateTime::Locale::sc

okay so bestie, welcome to DateTime::Locale::sc — it's the locale data examples page for the Sardinian (sc) locale, and yes the manpage title got chopped to DateTim...ale::sc(3) because apparently even the header needed a little nap. we move. 🫶

✨ DESCRIPTION ✨

this pod file is literally just a whole museum of examples of the locale data that's available for the Sardinian locale. no cap, it's a lookbook. every day name, month name, and date format the locale can flex, laid out so you can see exactly what it does. let's go 🎀

🌸 Days

Wide (format)

the full-glam versions, lowercase and everything:

lunis
martis
mèrcuris
giòbia
chenàbura
sàbadu
domìniga

Abbreviated (format)

the "we only have room for three letters" era:

lun
mar
mèr
giò
che
sàb
dom

Narrow (format)

one letter each, maximum minimalism. and yes, M shows up twice — not a glitch, that's just how it is 💀:

L
M
M
G
C
S
D

Wide (stand-alone)

same wide names, but standing all by themselves (no date context holding their hand):

lunis
martis
mèrcuris
giòbia
chenàbura
sàbadu
domìniga

Abbreviated (stand-alone)

lun
mar
mèr
giò
che
sàb
dom

Narrow (stand-alone)

again with the double M. iconic of it:

L
M
M
G
C
S
D

🦋 Months

Wide (format)

twelve months, full outfit:

ghennàrgiu
freàrgiu
martzu
abrile
maju
làmpadas
trìulas
austu
cabudanni
santugaine
santandria
nadale

Abbreviated (format)

and here's where it gets spicy — months ten and eleven are stG and stA, capital letters mid-word and all, because lowercase was simply not the vibe:

ghe
fre
mar
abr
maj
làm
trì
aus
cab
stG
stA
nad

Narrow (format)

single letters, and yeah M, A and S each repeat. we keep both. periodt:

G
F
M
A
M
L
T
A
C
S
S
N

Wide (stand-alone)

ghennàrgiu
freàrgiu
martzu
abrile
maju
làmpadas
trìulas
austu
cabudanni
santugaine
santandria
nadale

Abbreviated (stand-alone)

ghe
fre
mar
abr
maj
làm
trì
aus
cab
stG
stA
nad

Narrow (stand-alone)

G
F
M
A
M
L
T
A
C
S
S
N

🧚 Quarters

Wide (format)

quarters with main character energy — they're numbered 1u through 4u:

1u trimestre
2u trimestre
3u trimestre
4u trimestre

Abbreviated (format)

T1
T2
T3
T4

Narrow (format)

just the digits, no thoughts head empty:

1
2
3
4

Wide (stand-alone)

1u trimestre
2u trimestre
3u trimestre
4u trimestre

Abbreviated (stand-alone)

T1
T2
T3
T4

Narrow (stand-alone)

1
2
3
4

👑 Eras

Wide (format)

two eras, and they're giving ancient history realness:

in antis de Cristu
a pustis de Cristu

Abbreviated (format)

a.C.
p.C.

Narrow (format)

same as abbreviated, no notes:

a.C.
p.C.

💖 Date Formats

Full

the whole entire date, nothing held back:

2008-02-05T18:30:30 = martis 5 de freàrgiu de su 2008
1995-12-22T09:05:02 = chenàbura 22 de nadale de su 1995
-0010-09-15T04:44:23 = sàbadu 15 de cabudanni de su -10

Long

slightly chiller, drops the weekday:

2008-02-05T18:30:30 = 5 de freàrgiu de su 2008
1995-12-22T09:05:02 = 22 de nadale de su 1995
-0010-09-15T04:44:23 = 15 de cabudanni de su -10

Medium

now the month is abbreviated. also peep that su -10 — the negative year is just out there living its life 😭:

2008-02-05T18:30:30 = 5 de fre 2008
1995-12-22T09:05:02 = 22 de nad 1995
-0010-09-15T04:44:23 = 15 de cab -10

Short

all numbers, day/month/year:

2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-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

identical to Full here. yes really. fr fr:

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

UTC dips out, times stay 24-hour:

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, that's the whole meal:

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, holding hands 🫶:

2008-02-05T18:30:30 = martis 5 de freàrgiu de su 2008, 18:30:30 UTC
1995-12-22T09:05:02 = chenàbura 22 de nadale de su 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = sàbadu 15 de cabudanni de su -10, 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 de freàrgiu de su 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 de nadale de su 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 de cabudanni de su -10, 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 5 de fre 2008, 18:30:30
1995-12-22T09:05:02 = 22 de nad 1995, 09:05:02
-0010-09-15T04:44:23 = 15 de cab -10, 04:44:23

Short

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

🌈 Available Formats

okay this is the big one, the full menu. each format has a cute little key and its pattern in parens, then three sample renders — same three timestamps every time so you can compare. iykyk 🔥

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 = mar
1995-12-22T09:05:02 = che
-0010-09-15T04:44:23 = sàb

EBhm — pattern: E h:mm B

2008-02-05T18:30:30 = mar 6:30 B
1995-12-22T09:05:02 = che 9:05 B
-0010-09-15T04:44:23 = sàb 4:44 B

EBhms — pattern: E h:mm:ss B

2008-02-05T18:30:30 = mar 6:30:30 B
1995-12-22T09:05:02 = che 9:05:02 B
-0010-09-15T04:44:23 = sàb 4:44:23 B

EHm — pattern: E HH:mm

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

EHms — pattern: E HH:mm:ss

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

Ed — pattern: E d

2008-02-05T18:30:30 = mar 5
1995-12-22T09:05:02 = che 22
-0010-09-15T04:44:23 = sàb 15

Ehm — pattern: E h:mm a

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

Ehms — pattern: E h:mm:ss a

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

Gy — pattern: y G

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

GyMMM — pattern: MMM y G

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

GyMMMEd — pattern: E d 'de' MMM 'de' 'su' y G

2008-02-05T18:30:30 = mar 5 de fre de su 2008 p.C.
1995-12-22T09:05:02 = che 22 de nad de su 1995 p.C.
-0010-09-15T04:44:23 = sàb 15 de cab de su -10 a.C.

GyMMMd — pattern: d 'de' MMM 'de' 'su' y G

2008-02-05T18:30:30 = 5 de fre de su 2008 p.C.
1995-12-22T09:05:02 = 22 de nad de su 1995 p.C.
-0010-09-15T04:44:23 = 15 de cab de su -10 a.C.

GyMd — pattern: dd/MM/y GGGGG

2008-02-05T18:30:30 = 05/02/2008 p.C.
1995-12-22T09:05:02 = 22/12/1995 p.C.
-0010-09-15T04:44:23 = 15/09/-10 a.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 dd/MM

2008-02-05T18:30:30 = mar 05/02
1995-12-22T09:05:02 = che 22/12
-0010-09-15T04:44:23 = sàb 15/09

MMM — pattern: LLL

2008-02-05T18:30:30 = fre
1995-12-22T09:05:02 = nad
-0010-09-15T04:44:23 = cab

MMMEd — pattern: E d 'de' MMM

2008-02-05T18:30:30 = mar 5 de fre
1995-12-22T09:05:02 = che 22 de nad
-0010-09-15T04:44:23 = sàb 15 de cab

MMMMW-count-one — pattern: 'chida' W 'de' MMMM

2008-02-05T18:30:30 = chida 1 de freàrgiu
1995-12-22T09:05:02 = chida 3 de nadale
-0010-09-15T04:44:23 = chida 2 de cabudanni

MMMMW-count-other — pattern: 'chida' W 'de' MMMM

same render as the count-one one, and yeah that's on purpose:

2008-02-05T18:30:30 = chida 1 de freàrgiu
1995-12-22T09:05:02 = chida 3 de nadale
-0010-09-15T04:44:23 = chida 2 de cabudanni

MMMMd — pattern: d 'de' MMMM

2008-02-05T18:30:30 = 5 de freàrgiu
1995-12-22T09:05:02 = 22 de nadale
-0010-09-15T04:44:23 = 15 de cabudanni

MMMd — pattern: d 'de' MMM

2008-02-05T18:30:30 = 5 de fre
1995-12-22T09:05:02 = 22 de nad
-0010-09-15T04:44:23 = 15 de cab

Md — pattern: dd/MM

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

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: MM/Y

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

yMEd — pattern: E dd/MM/y

2008-02-05T18:30:30 = mar 05/02/2008
1995-12-22T09:05:02 = che 22/12/1995
-0010-09-15T04:44:23 = sàb 15/09/-10

yMMM — pattern: MMM y

2008-02-05T18:30:30 = fre 2008
1995-12-22T09:05:02 = nad 1995
-0010-09-15T04:44:23 = cab -10

yMMMEd — pattern: E d 'de' MMM y

2008-02-05T18:30:30 = mar 5 de fre 2008
1995-12-22T09:05:02 = che 22 de nad 1995
-0010-09-15T04:44:23 = sàb 15 de cab -10

yMMMM — pattern: MMMM 'de' 'su' y

2008-02-05T18:30:30 = freàrgiu de su 2008
1995-12-22T09:05:02 = nadale de su 1995
-0010-09-15T04:44:23 = cabudanni de su -10

yMMMd — pattern: d 'de' MMM y

2008-02-05T18:30:30 = 5 de fre 2008
1995-12-22T09:05:02 = 22 de nad 1995
-0010-09-15T04:44:23 = 15 de cab -10

💀 and bestie we are so not done — this list keeps going. more formats coming right up, don't move 🧚

And then the date-format pattern list just keeps serving, bestie:

yMd (dd/MM/y) — day/month/year energy, periodt.

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) — quarter + year vibes, lowkey specific.

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

yQQQQ (QQQQ 'de' 'su' y) — the long quarter form, fancy fancy.

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

yw-count-one ('chida' w 'de' 'su' Y) — week-count one-flavor, iykyk.

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

yw-count-other ('chida' w 'de' 'su' Y) — same pattern id energy, other-flavor, and here the output is literally the same too.

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

Miscellaneous 🧚

  • Prefers 24 hour time? Yes.
  • Local first day of the week 1 (lunis).

Strftime Patterns ✨

%c (%a %b %e %H:%M:%S %Y) — date time format, the main-character strftime string.

2008-02-05T18:30:30 = mar fre  5 18:30:30 2008
1995-12-22T09:05:02 = che nad 22 09:05:02 1995
-0010-09-15T04:44:23 = sàb cab 15 04:44:23 -10

%x (%m/%d/%y) — 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) — time format, clock girlie.

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, and it ate.


💖 Byeee bestie — this page is from perl v5.42.0, dated 2024-12-12, and the source file is DateTim...ale::sc(3). slay. 💅

📦 where this page comes from