DateTim...ale::scn(3)

πŸ¦‹ DateTime::Locale::scn β€” the Sicilian locale, bestie edition πŸ’…

ok so this page is literally the manual for DateTime::Locale::scn, aka the locale data examples for the Sicilian (scn) locale, straight outta the User Contributed Perl Documentation. it's a pod file, it's a whole vibe, and we're gonna walk through every single one of these tables together. no skimming, no "you get the idea" β€” we're doing all of it. periodt. ✨


🌸 NAME 🌸

DateTime::Locale::scn β€” locale data examples for the Sicilian (scn) locale.

like, that's the whole name section. short, sweet, iconic. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

this pod file contains examples of the locale data available for the Sicilian locale. that's the official description and we are not editorializing it (ok we're editorializing it a little). everything below is literally the data, laid out so you can see exactly what each format gives you. 🫢


🌈 Days 🌈

so days come in three widths β€” wide, abbreviated, narrow β€” and each of those comes in two flavors: format (how it looks inside a full date) and stand-alone (how it looks on its own). and listen. for Sicilian here, the format and stand-alone versions are the exact same strings. not me checking twice πŸ’€ β€” yes I did. here we go:

⭐ Wide (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

⭐ Abbreviated (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

⭐ Narrow (format)

M
T
W
T
F
S
S

⭐ Wide (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

⭐ Abbreviated (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

⭐ Narrow (stand-alone)

M
T
W
T
F
S
S

see what I mean? twin behavior. the narrow ones are just single letters and yes there are two Ts and two Ss, that's not a typo, that's just Tuesday/Thursday and Saturday/Sunday living their truth. 😭 πŸ’œ


πŸŽ€ Months πŸŽ€

same deal β€” three widths, format and stand-alone. and again, the wide and abbreviated ones are byte-for-byte identical to each other, which is a choice and I respect it. the month names here are literally M01 through M12, which honestly? unbothered. clean. 🧚

🌸 Wide (format)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

🌸 Abbreviated (format)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

🌸 Narrow (format)

1
2
3
4
5
6
7
8
9
10
11
12

🌸 Wide (stand-alone)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

🌸 Abbreviated (stand-alone)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

🌸 Narrow (stand-alone)

1
2
3
4
5
6
7
8
9
10
11
12

the narrow ones are just plain digits 1–12, no zero padding, no drama. slay. ✨


πŸ’… Quarters πŸ’…

quarters! Q1–Q4 for the wide and abbreviated versions (format and stand-alone, all the same), and bare 1–4 for the narrow ones. that's it, that's the section. lowkey the most chill part of this whole page. πŸ“

πŸ¦‹ Wide (format)

Q1
Q2
Q3
Q4

πŸ¦‹ Abbreviated (format)

Q1
Q2
Q3
Q4

πŸ¦‹ Narrow (format)

1
2
3
4

πŸ¦‹ Wide (stand-alone)

Q1
Q2
Q3
Q4

πŸ¦‹ Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

πŸ¦‹ Narrow (stand-alone)

1
2
3
4

πŸ‘‘ Eras πŸ‘‘

ok so eras only get three versions here β€” wide, abbreviated, narrow β€” and note that there's no stand-alone for eras, so don't come for me, I'm just reporting the data. and the three? all identical: BCE and CE. no cap. πŸ’€

πŸ”₯ Wide (format)

BCE
CE

πŸ”₯ Abbreviated (format)

BCE
CE

πŸ”₯ Narrow (format)

BCE
CE

πŸ’œ Date Formats πŸ’œ

here's where it gets fun β€” each named format gets three sample datetimes so you can see exactly what comes out. the three samples (every single time, no exceptions) are:

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

🌟 Full

2008-02-05T18:30:30 = 2008 M02 5, Tue
1995-12-22T09:05:02 = 1995 M12 22, Fri
-0010-09-15T04:44:23 = -10 M09 15, Sat

🌟 Long

2008-02-05T18:30:30 = 2008 M02 5
1995-12-22T09:05:02 = 1995 M12 22
-0010-09-15T04:44:23 = -10 M09 15

🌟 Medium

2008-02-05T18:30:30 = 2008 M02 5
1995-12-22T09:05:02 = 1995 M12 22
-0010-09-15T04:44:23 = -10 M09 15

🌟 Short

2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15
and yeah, that negative year is literally written -10 β€” the sample datetime is year -10 and it prints that way. don't blame me, I'm just the messenger. πŸ™ˆ

🌸 Time Formats 🌸

same four levels, now for times only. watch how Full and Long both tack on UTC while Medium and Short drop it. character development. 🎬

⭐ 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 🧚

date + time combined, in all four levels. this is the "both? both. both is good" section. πŸ’–

πŸ¦‹ Full

2008-02-05T18:30:30 = 2008 M02 5, Tue 18:30:30 UTC
1995-12-22T09:05:02 = 1995 M12 22, Fri 09:05:02 UTC
-0010-09-15T04:44:23 = -10 M09 15, Sat 04:44:23 UTC

πŸ¦‹ Long

2008-02-05T18:30:30 = 2008 M02 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 M12 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 M09 15 04:44:23 UTC

πŸ¦‹ Medium

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

πŸ¦‹ Short

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

✨ Available Formats ✨

bestie. this is the big one. every one of these has a name, a pattern in parens, and three sample outputs. I'm giving each one its own little moment because they deserve it. πŸ’…

πŸŽ€ 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 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat

πŸŽ€ EBhm (E h:mm B)

2008-02-05T18:30:30 = Tue 6:30 B
1995-12-22T09:05:02 = Fri 9:05 B
-0010-09-15T04:44:23 = Sat 4:44 B

πŸŽ€ EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = Tue 6:30:30 B
1995-12-22T09:05:02 = Fri 9:05:02 B
-0010-09-15T04:44:23 = Sat 4:44:23 B

πŸŽ€ EHm (E HH:mm)

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

πŸŽ€ EHms (E HH:mm:ss)

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

πŸŽ€ Ed (d, E)

2008-02-05T18:30:30 = 5, Tue
1995-12-22T09:05:02 = 22, Fri
-0010-09-15T04:44:23 = 15, Sat

πŸŽ€ Ehm (E h:mm a)

2008-02-05T18:30:30 = Tue 6:30 PM
1995-12-22T09:05:02 = Fri 9:05 AM
-0010-09-15T04:44:23 = Sat 4:44 AM

πŸŽ€ Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = Tue 6:30:30 PM
1995-12-22T09:05:02 = Fri 9:05:02 AM
-0010-09-15T04:44:23 = Sat 4:44:23 AM

πŸŽ€ Gy (G y)

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

πŸŽ€ GyMMM (G y MMM)

2008-02-05T18:30:30 = CE 2008 M02
1995-12-22T09:05:02 = CE 1995 M12
-0010-09-15T04:44:23 = BCE -10 M09

πŸŽ€ GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = CE 2008 M02 5, Tue
1995-12-22T09:05:02 = CE 1995 M12 22, Fri
-0010-09-15T04:44:23 = BCE -10 M09 15, Sat

πŸŽ€ GyMMMd (G y MMM d)

2008-02-05T18:30:30 = CE 2008 M02 5
1995-12-22T09:05:02 = CE 1995 M12 22
-0010-09-15T04:44:23 = BCE -10 M09 15

πŸŽ€ GyMd (GGGGG y-MM-dd)

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

πŸŽ€ 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 (MM-dd, E)

2008-02-05T18:30:30 = 02-05, Tue
1995-12-22T09:05:02 = 12-22, Fri
-0010-09-15T04:44:23 = 09-15, Sat

πŸŽ€ MMM (LLL)

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

πŸŽ€ MMMEd (MMM d, E)

2008-02-05T18:30:30 = M02 5, Tue
1995-12-22T09:05:02 = M12 22, Fri
-0010-09-15T04:44:23 = M09 15, Sat

πŸŽ€ MMMMW-count-other ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of M02
1995-12-22T09:05:02 = week 3 of M12
-0010-09-15T04:44:23 = week 2 of M09

πŸŽ€ MMMMd (MMMM d)

2008-02-05T18:30:30 = M02 5
1995-12-22T09:05:02 = M12 22
-0010-09-15T04:44:23 = M09 15

πŸŽ€ MMMd (MMM d)

2008-02-05T18:30:30 = M02 5
1995-12-22T09:05:02 = M12 22
-0010-09-15T04:44:23 = M09 15

πŸŽ€ Md (MM-dd)

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

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

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

πŸŽ€ yMEd (y-MM-dd, E)

2008-02-05T18:30:30 = 2008-02-05, Tue
1995-12-22T09:05:02 = 1995-12-22, Fri
-0010-09-15T04:44:23 = -10-09-15, Sat

πŸŽ€ yMMM (y MMM)

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

πŸŽ€ yMMMEd (y MMM d, E)

2008-02-05T18:30:30 = 2008 M02 5, Tue
1995-12-22T09:05:02 = 1995 M12 22, Fri
-0010-09-15T04:44:23 = -10 M09 15, Sat

πŸŽ€ yMMMM (y MMMM)

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

πŸŽ€ yMMMd (y MMM d)

2008-02-05T18:30:30 = 2008 M02 5
1995-12-22T09:05:02 = 1995 M12 22
-0010-09-15T04:44:23 = -10 M09 15

πŸŽ€ yMd (y-MM-dd)

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

πŸŽ€ yQQQ (y QQQ)

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

πŸŽ€ yQQQQ (y QQQQ)

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

πŸŽ€ yw-count-other ('week' w 'of' Y)

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

phew. okay. that was a lot of M02. but we got through it together. 🫢


🌟 Miscellaneous 🌟

the little extras, the fun facts, the vibe check section. 🧚

Prefers 24 hour time?

Yes.

Local first day of the week

1 (Mon)

so: 24-hour clock, week starts Monday. very European of it. we love. πŸ’œ


πŸ’« Strftime Patterns πŸ’«

ok so %c here is the date-time format, and the pattern is %a %b %e %H:%M:%S %Y. note that %e pads with a space, which is why you see two spaces after M02 in the first example β€” that's not me being sloppy, that's literally the output. πŸ’…

πŸ”₯ %c (%a %b %e %H:%M:%S %Y) β€” date time format

2008-02-05T18:30:30 = Tue M02  5 18:30:30 2008
1995-12-22T09:05:02 = Fri M12 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat M09 15 04:44:23 -10

and that's part 1, bestie β€” more to come, don't go anywhere πŸ’–

okay so last two format girls, and they're both lowkey royalty πŸ‘‘

  • %x (%m/%d/%y) β€” the date format, aka the short-and-sweet date vibe ✨
  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, clock-girl edition πŸ•°οΈ
  2008-02-05T18:30:30 = 18:30:30
  1995-12-22T09:05:02 = 09:05:02
 -0010-09-15T04:44:23 = 04:44:23

and that's the whole format alphabet, bestie β€” you officially know all of them πŸ’…


🫢 SUPPORT 🫢

need more? go peek at DateTime::Locale. that's literally the whole assignment πŸ“šβœ¨

fr fr, if something here is giving you questions, DateTime::Locale is your girl β€” she's got the answers iykyk

okay that's a wrap, bestie πŸŽ€ this page was served up by perl v5.42.0, dated 2024-12-12, and it lives its best life as DateTim...ale::scn(3) in the User Contributed Perl Documentation 🌸 go forth and format, you absolute icon πŸ‘‘πŸ’–

πŸ“¦ where this page comes from