DateTim...:gsw_LI(3)

🎀 DateTim...:gsw_LI(3) 🎀

okay bestie, so this is the manual page for DateTim...:gsw_LI(3) — the Swiss German Liechtenstein locale situation, and it's literally a whole vibe. It's data examples, like a little lookbook of how dates and times get dressed up in gsw-LI. No cap, it's long, but we're getting through it together 💅


✨ NAME ✨

DateTime::Locale::gsw_LI — the locale data examples for the Swiss German Liechtenstein (gsw-LI) locale 🧚


🌸 DESCRIPTION 🌸

So this pod file is literally just a showcase, ok? It contains examples of the locale data available for the Swiss German Liechtenstein locale. That's the whole thing. It's giving "reference sheet but make it cute" 💖


🦋 Days 🦋

Wide (format)

Määntig
Ziischtig
Mittwuch
Dunschtig
Friitig
Samschtig
Sunntig

Abbreviated (format)

Mä.
Zi.
Mi.
Du.
Fr.
Sa.
Su.

Narrow (format)

M
D
M
D
F
S
S

Wide (stand-alone)

Määntig
Ziischtig
Mittwuch
Dunschtig
Friitig
Samschtig
Sunntig

Abbreviated (stand-alone)

Mä.
Zi.
Mi.
Du.
Fr.
Sa.
Su.

Narrow (stand-alone)

M
D
M
D
F
S
S
ngl the narrow ones have two Ms and two Ds and honestly? that's just how it is. Not me trying to fix it. We don't fix locale data, we respect it 🙈

🌈 Months 🌈

Wide (format)

Januar
Februar
März
April
Mai
Juni
Juli
Auguscht
Septämber
Oktoober
Novämber
Dezämber

Abbreviated (format)

Jan
Feb
Mär
Apr
Mai
Jun
Jul
Aug
Sep
Okt
Nov
Dez

Narrow (format)

J
F
M
A
M
J
J
A
S
O
N
D

Wide (stand-alone)

Januar
Februar
März
April
Mai
Juni
Juli
Auguscht
Septämber
Oktoober
Novämber
Dezämber

Abbreviated (stand-alone)

Jan
Feb
Mär
Apr
Mai
Jun
Jul
Aug
Sep
Okt
Nov
Dez

Narrow (stand-alone)

J
F
M
A
M
J
J
A
S
O
N
D

⭐ Quarters ⭐

Wide (format)

1. Quartal
2. Quartal
3. Quartal
4. Quartal

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-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)

v. Chr.
n. Chr.

Abbreviated (format)

v. Chr.
n. Chr.

Narrow (format)

v. Chr.
n. Chr.

💖 Date Formats 💖

Full

2008-02-05T18:30:30 = Ziischtig, 5. Februar 2008
1995-12-22T09:05:02 = Friitig, 22. Dezämber 1995
-0010-09-15T04:44:23 = Samschtig, 15. Septämber -10

Long

2008-02-05T18:30:30 = 5. Februar 2008
1995-12-22T09:05:02 = 22. Dezämber 1995
-0010-09-15T04:44:23 = 15. Septämber -10

Medium

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

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

🦋 Datetime Formats 🦋

Full

2008-02-05T18:30:30 = Ziischtig, 5. Februar 2008 18:30:30 UTC
1995-12-22T09:05:02 = Friitig, 22. Dezämber 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Samschtig, 15. Septämber -10 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5. Februar 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22. Dezämber 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15. Septämber -10 04:44:23 UTC

Medium

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

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, the main character section. Every format name, its pattern in parentheses, and the three example renders. Obsessed honestly ✨

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 = Zi.
1995-12-22T09:05:02 = Fr.
-0010-09-15T04:44:23 = Sa.

EBhm (E h:mm B)

2008-02-05T18:30:30 = Zi. 6:30 B
1995-12-22T09:05:02 = Fr. 9:05 B
-0010-09-15T04:44:23 = Sa. 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = Zi. 6:30:30 B
1995-12-22T09:05:02 = Fr. 9:05:02 B
-0010-09-15T04:44:23 = Sa. 4:44:23 B

EHm (E HH:mm)

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

EHms (E HH:mm:ss)

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

Ed (E d.)

2008-02-05T18:30:30 = Zi. 5.
1995-12-22T09:05:02 = Fr. 22.
-0010-09-15T04:44:23 = Sa. 15.

Ehm (E h:mm a)

2008-02-05T18:30:30 = Zi. 6:30 nam.
1995-12-22T09:05:02 = Fr. 9:05 vorm.
-0010-09-15T04:44:23 = Sa. 4:44 vorm.

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = Zi. 6:30:30 nam.
1995-12-22T09:05:02 = Fr. 9:05:02 vorm.
-0010-09-15T04:44:23 = Sa. 4:44:23 vorm.

Gy (G y)

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

GyMMM (G y MMM)

2008-02-05T18:30:30 = n. Chr. 2008 Feb
1995-12-22T09:05:02 = n. Chr. 1995 Dez
-0010-09-15T04:44:23 = v. Chr. -10 Sep

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = n. Chr. 2008 Feb 5, Zi.
1995-12-22T09:05:02 = n. Chr. 1995 Dez 22, Fr.
-0010-09-15T04:44:23 = v. Chr. -10 Sep 15, Sa.

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = n. Chr. 2008 Feb 5
1995-12-22T09:05:02 = n. Chr. 1995 Dez 22
-0010-09-15T04:44:23 = v. Chr. -10 Sep 15

GyMd (GGGGG y-MM-dd)

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

H (H)

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

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, d.M.)

2008-02-05T18:30:30 = Zi., 5.2.
1995-12-22T09:05:02 = Fr., 22.12.
-0010-09-15T04:44:23 = Sa., 15.9.

MMM (LLL)

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

MMMEd (E d. MMM)

2008-02-05T18:30:30 = Zi. 5. Feb
1995-12-22T09:05:02 = Fr. 22. Dez
-0010-09-15T04:44:23 = Sa. 15. Sep

MMMMEd (E d. MMMM)

2008-02-05T18:30:30 = Zi. 5. Februar
1995-12-22T09:05:02 = Fr. 22. Dezämber
-0010-09-15T04:44:23 = Sa. 15. Septämber

MMMMW-count-other ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of Februar
1995-12-22T09:05:02 = week 3 of Dezämber
-0010-09-15T04:44:23 = week 2 of Septämber
yes it literally says week ... of ... in English in the pattern, and we are not questioning it 🙈 iykyk

MMMMd (d. MMMM)

2008-02-05T18:30:30 = 5. Februar
1995-12-22T09:05:02 = 22. Dezämber
-0010-09-15T04:44:23 = 15. Septämber

MMMd (d. MMM)

2008-02-05T18:30:30 = 5. Feb
1995-12-22T09:05:02 = 22. Dez
-0010-09-15T04:44:23 = 15. Sep

MMd (d.MM.)

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

MMdd (dd.MM.)

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

Md (d.M.)

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

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 nam.
1995-12-22T09:05:02 = 9 vorm.
-0010-09-15T04:44:23 = 4 vorm.

hm (h:mm a)

2008-02-05T18:30:30 = 6:30 nam.
1995-12-22T09:05:02 = 9:05 vorm.
-0010-09-15T04:44:23 = 4:44 vorm.

hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 nam.
1995-12-22T09:05:02 = 9:05:02 vorm.
-0010-09-15T04:44:23 = 4:44:23 vorm.

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 nam. UTC
1995-12-22T09:05:02 = 9:05:02 vorm. UTC
-0010-09-15T04:44:23 = 4:44:23 vorm. UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 nam. UTC
1995-12-22T09:05:02 = 9:05 vorm. UTC
-0010-09-15T04:44:23 = 4:44 vorm. UTC

mmss (mm:ss)

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

ms (mm:ss)

2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
not mmss and ms having the exact same pattern and the exact same output 💀 iconic sibling behaviour, no notes

y (y)

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

yM (y-M)

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

yMEd (E, y-M-d)

2008-02-05T18:30:30 = Zi., 2008-2-5
1995-12-22T09:05:02 = Fr., 1995-12-22
-0010-09-15T04:44:23 = Sa., -10-9-15

yMM (MM.y)

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

yMMM (MMM y)

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

yMMMEd (E, d. MMM y)

2008-02-05T18:30:30 = Zi., 5. Feb 2008
1995-12-22T09:05:02 = Fr., 22. Dez 1995
-0010-09-15T04:44:23 = Sa., 15. Sep -10

okay bestie that's the whole data dump for part 1 💖 more is coming, don't go anywhere 🫶

  • yMMMM (MMMM y) — month name plus year, in that order, no separators.
2008-02-05T18:30:30 = Februar 2008
1995-12-22T09:05:02 = Dezämber 1995
-0010-09-15T04:44:23 = Septämber -10
  • yMMMd (y MMM d) — year, then the shortened month name, then the day. Spaces between, bestie.
2008-02-05T18:30:30 = 2008 Feb 5
1995-12-22T09:05:02 = 1995 Dez 22
-0010-09-15T04:44:23 = -10 Sep 15
  • yMMdd (dd.MM.y) — day first, dotted, ending with the year. Very European of it.
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 (y-MM-dd) — the classic ISO-ish year-month-day, all hyphenated and tidy.
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 (QQQ y) — short quarter (Q1–Q4) then the year.
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
  • yQQQQ (QQQQ y) — the long-form quarter, because sometimes you need the whole word situation.
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-other ('week' w 'of' Y) — the week-number one, surrounded by literal week and of text. Note the capital Y for the week-year, not the regular y — that distinction is doing so much work here.
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

🎀 Miscellaneous 🎀

Two little vibe-check facts about this locale, and honestly they're the kind of details you only notice when something breaks at 3 a.m.:

  • Prefers 24 hour time? — Yes. No AM/PM era for us, thank you 💅
  • Local first day of the week — 1 (Määntig), i.e. Monday gets to be main character 👑

✨ Strftime Patterns ✨

These are the old-school strftime-style patterns, and yes bb they still show up. Each one gets its format string and its three demo timestamps:

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

2008-02-05T18:30:30 = Zi. Feb  5 18:30:30 2008
1995-12-22T09:05:02 = Fr. Dez 22 09:05:02 1995
-0010-09-15T04:44:23 = Sa. Sep 15 04:44:23 -10

(Ok but notice the double space before the single-digit day — that's the %e padding, not a typo 😭)

%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. That's the whole support section — short, sweet, slaying 🦋


Heads up bestie: that -0010 year keeps showing up in every single example above. Negative years are a whole thing here, so don't panic when you see -10 where you expected a normal year 💀

And that's a wrap on the gsw_LI locale page, fr fr 💖 Documented in perl v5.42.0, dated 2024-12-12 — go forth and format your Swiss German timestamps with confidence, you've got this 🌈⭐

📦 where this page comes from