DateTim...ale::de(3)
β¨ DateTime::Locale::de β¨
bestie, this is the DateTime::Locale::de page from User Contributed Perl Documentation β the header is literally truncated as DateTim...ale::de(3) because terminal said what it said π. Itβs all the German (de) locale data examples, and it is lowkey a whole mood board of days, months, eras, and format strings. Part 1, so weβre not signing off β weβre just pausing mid-glow-up π«Ά.
πΈ NAME πΈ
DateTime::Locale::de - Locale data examples for the German (de) locale
π DESCRIPTION π
This pod file contains examples of the locale data available for the German locale.
ποΈ Days
πΈ Wide (format)
Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag
πΈ Abbreviated (format)
Mo.
Di.
Mi.
Do.
Fr.
Sa.
So.
πΈ Narrow (format)
M
D
M
D
F
S
S
πΈ Wide (stand-alone)
Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag
πΈ Abbreviated (stand-alone)
Mo
Di
Mi
Do
Fr
Sa
So
πΈ Narrow (stand-alone)
M
D
M
D
F
S
S
π Months
πΈ Wide (format)
Januar
Februar
MΓ€rz
April
Mai
Juni
Juli
August
September
Oktober
November
Dezember
πΈ Abbreviated (format)
Jan.
Feb.
MΓ€rz
Apr.
Mai
Juni
Juli
Aug.
Sept.
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
August
September
Oktober
November
Dezember
πΈ 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 = Dienstag, 5. Februar 2008
1995-12-22T09:05:02 = Freitag, 22. Dezember 1995
-0010-09-15T04:44:23 = Samstag, 15. September -10
πΈ Long
2008-02-05T18:30:30 = 5. Februar 2008
1995-12-22T09:05:02 = 22. Dezember 1995
-0010-09-15T04:44:23 = 15. September -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 = Dienstag, 5. Februar 2008, 18:30:30 UTC
1995-12-22T09:05:02 = Freitag, 22. Dezember 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = Samstag, 15. September -10, 04:44:23 UTC
πΈ Long
2008-02-05T18:30:30 = 5. Februar 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22. Dezember 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15. September -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 these are the named format patterns, bestie. The label is the key, the thing in parens is the pattern, and the code block is the receipts for three sample timestamps. No cap, every single one is here π.
Bh (h B)β the receipts:
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)β the receipts:
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)β the receipts:
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)β the receipts:
2008-02-05T18:30:30 = Di
1995-12-22T09:05:02 = Fr
-0010-09-15T04:44:23 = Sa
EBhm (E h:mm B)β the receipts:
2008-02-05T18:30:30 = Di. 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)β the receipts:
2008-02-05T18:30:30 = Di. 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)β the receipts:
2008-02-05T18:30:30 = Di., 18:30
1995-12-22T09:05:02 = Fr., 09:05
-0010-09-15T04:44:23 = Sa., 04:44
EHms (E, HH:mm:ss)β the receipts:
2008-02-05T18:30:30 = Di., 18:30:30
1995-12-22T09:05:02 = Fr., 09:05:02
-0010-09-15T04:44:23 = Sa., 04:44:23
Ed (E, d.)β the receipts:
2008-02-05T18:30:30 = Di., 5.
1995-12-22T09:05:02 = Fr., 22.
-0010-09-15T04:44:23 = Sa., 15.
Ehm (E h:mm a)β the receipts:
2008-02-05T18:30:30 = Di. 6:30 PM
1995-12-22T09:05:02 = Fr. 9:05 AM
-0010-09-15T04:44:23 = Sa. 4:44 AM
Ehms (E, h:mm:ss a)β the receipts:
2008-02-05T18:30:30 = Di., 6:30:30 PM
1995-12-22T09:05:02 = Fr., 9:05:02 AM
-0010-09-15T04:44:23 = Sa., 4:44:23 AM
Gy (y G)β the receipts:
2008-02-05T18:30:30 = 2008 n. Chr.
1995-12-22T09:05:02 = 1995 n. Chr.
-0010-09-15T04:44:23 = -10 v. Chr.
GyMMM (MMM y G)β the receipts:
2008-02-05T18:30:30 = Feb. 2008 n. Chr.
1995-12-22T09:05:02 = Dez. 1995 n. Chr.
-0010-09-15T04:44:23 = Sept. -10 v. Chr.
GyMMMEd (E, d. MMM y G)β the receipts:
2008-02-05T18:30:30 = Di., 5. Feb. 2008 n. Chr.
1995-12-22T09:05:02 = Fr., 22. Dez. 1995 n. Chr.
-0010-09-15T04:44:23 = Sa., 15. Sept. -10 v. Chr.
GyMMMd (d. MMM y G)β the receipts:
2008-02-05T18:30:30 = 5. Feb. 2008 n. Chr.
1995-12-22T09:05:02 = 22. Dez. 1995 n. Chr.
-0010-09-15T04:44:23 = 15. Sept. -10 v. Chr.
GyMd (dd.MM.y G)β the receipts:
2008-02-05T18:30:30 = 05.02.2008 n. Chr.
1995-12-22T09:05:02 = 22.12.1995 n. Chr.
-0010-09-15T04:44:23 = 15.09.-10 v. Chr.
H (HH 'Uhr')β the receipts:
2008-02-05T18:30:30 = 18 Uhr
1995-12-22T09:05:02 = 09 Uhr
-0010-09-15T04:44:23 = 04 Uhr
Hm (HH:mm)β the receipts:
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)β the receipts:
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)β the receipts:
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)β the receipts:
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)β the receipts:
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MEd (E, d.M.)β the receipts:
2008-02-05T18:30:30 = Di., 5.2.
1995-12-22T09:05:02 = Fr., 22.12.
-0010-09-15T04:44:23 = Sa., 15.9.
MMM (LLL)β the receipts:
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dez
-0010-09-15T04:44:23 = Sep
MMMEd (E, d. MMM)β the receipts:
2008-02-05T18:30:30 = Di., 5. Feb.
1995-12-22T09:05:02 = Fr., 22. Dez.
-0010-09-15T04:44:23 = Sa., 15. Sept.
MMMMEd (E, d. MMMM)β the receipts:
2008-02-05T18:30:30 = Di., 5. Februar
1995-12-22T09:05:02 = Fr., 22. Dezember
-0010-09-15T04:44:23 = Sa., 15. September
MMMMW-count-one ('Woche' W 'im' MMMM)β the receipts:
2008-02-05T18:30:30 = Woche 1 im Februar
1995-12-22T09:05:02 = Woche 3 im Dezember
-0010-09-15T04:44:23 = Woche 2 im September
MMMMW-count-other ('Woche' W 'im' MMMM)β the receipts:
2008-02-05T18:30:30 = Woche 1 im Februar
1995-12-22T09:05:02 = Woche 3 im Dezember
-0010-09-15T04:44:23 = Woche 2 im September
MMMMd (d. MMMM)β the receipts:
2008-02-05T18:30:30 = 5. Februar
1995-12-22T09:05:02 = 22. Dezember
-0010-09-15T04:44:23 = 15. September
MMMd (d. MMM)β the receipts:
2008-02-05T18:30:30 = 5. Feb.
1995-12-22T09:05:02 = 22. Dez.
-0010-09-15T04:44:23 = 15. Sept.
MMd (d.MM.)β the receipts:
2008-02-05T18:30:30 = 5.02.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.09.
MMdd (dd.MM.)β the receipts:
2008-02-05T18:30:30 = 05.02.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.09.
Md (d.M.)β the receipts:
2008-02-05T18:30:30 = 5.2.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.9.
d (d)β the receipts:
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
h (h 'Uhr' a)β the receipts:
2008-02-05T18:30:30 = 6 Uhr PM
1995-12-22T09:05:02 = 9 Uhr AM
-0010-09-15T04:44:23 = 4 Uhr AM
hm (h:mm a)β the receipts:
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)β the receipts:
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)β the receipts:
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)β the receipts:
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)β the receipts:
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
y (y)β the receipts:
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM (M/y)β the receipts:
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
yMEd (E, d.M.y)β the receipts:
2008-02-05T18:30:30 = Di., 5.2.2008
1995-12-22T09:05:02 = Fr., 22.12.1995
-0010-09-15T04:44:23 = Sa., 15.9.-10
yMM (MM.y)β the receipts:
2008-02-05T18:30:30 = 02.2008
1995-12-22T09:05:02 = 12.1995
-0010-09-15T04:44:23 = 09.-10
yMMM (MMM y)β the receipts:
2008-02-05T18:30:30 = Feb. 2008
1995-12-22T09:05:02 = Dez. 1995
-0010-09-15T04:44:23 = Sept. -10
yMMMEd (E, d. MMM y)β the page cuts off right here in part 1, so there are no example lines shown for this one yet.
Okay so picking up right where we left off β next pattern block, no heading needed, just vibes β¨:
2008-02-05T18:30:30 = Di., 5. Feb. 2008
1995-12-22T09:05:02 = Fr., 22. Dez. 1995
-0010-09-15T04:44:23 = Sa., 15. Sept. -10
yMMMM (MMMM y)
Month-and-year energy, month first, no day invited π
2008-02-05T18:30:30 = Februar 2008
1995-12-22T09:05:02 = Dezember 1995
-0010-09-15T04:44:23 = September -10
yMMMd (d. MMM y)
Day, then the short month, then the year β classic, lowkey the one everyone actually uses π«Ά
2008-02-05T18:30:30 = 5. Feb. 2008
1995-12-22T09:05:02 = 22. Dez. 1995
-0010-09-15T04:44:23 = 15. Sept. -10
yMMdd (dd.MM.y)
All-numeric, zero-padded, absolutely giving "I file my taxes on time" π
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 (d.M.y)
Same as above but the zero-padding said "not today" β compact and cute π
2008-02-05T18:30:30 = 5.2.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.9.-10
yQQQ (QQQ y)
Quarter, abbreviated, because sometimes a whole month is simply too much information πΈ
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. It's giving spreadsheet header at a very serious company π
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-one ('Woche' w 'des' 'Jahres' Y)
Week-number flex, one variant β heads up bestie, count-one and count-other are literally identical here, so don't come for me about the duplicate, that's just how the data is fr fr π
2008-02-05T18:30:30 = Woche 6 des Jahres 2008
1995-12-22T09:05:02 = Woche 51 des Jahres 1995
-0010-09-15T04:44:23 = Woche 37 des Jahres -10
yw-count-other ('Woche' w 'des' 'Jahres' Y)
Yep. Same pattern, same strings, same everything. Iconic of it honestly π
2008-02-05T18:30:30 = Woche 6 des Jahres 2008
1995-12-22T09:05:02 = Woche 51 des Jahres 1995
-0010-09-15T04:44:23 = Woche 37 des Jahres -10
β¨ Miscellaneous β¨
The little settings that make the whole locale tick π§
- Prefers 24 hour time? Yes β no AM/PM nonsense here, we're doing
18:30:30and we're thriving π― - Local first day of the week
1(Montag) β week starts on Monday, as it should π
π¦ Strftime Patterns π¦
For when you're on that classic strftime grind and need the German output π
%c (%a %b %e %H:%M:%S %Y) β date time format
The whole shebang. Day name, month name, the weird space-padded day number, time, year π
2008-02-05T18:30:30 = Di. Feb. 5 18:30:30 2008
1995-12-22T09:05:02 = Fr. Dez. 22 09:05:02 1995
-0010-09-15T04:44:23 = Sa. Sept. 15 04:44:23 -10
Not me pointing out the literal two spaces before the5β that's%edoing its space-padded thing, it's not a typo, do not "fix" it π
%x (%m/%d/%y) β date format
Short numeric date. And yes, the pattern is %m/%d/%y even for a German locale β that's what the page says, so that's what we ship πΈ
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 clock, 24-hour, no notes β
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 π
That's literally it, bestie β see DateTime::Locale for the whole system, the actual machinery, all the other locales, the works π«Ά
That's the whole page, no cap π
this was perl v5.42.0, dated 2024-12-12, and honestly? She ate. Go format some dates, you've got this πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms