DateTim...e::de_DE(3)
π DateTime::Locale::de_DE(3) β the German Germany locale, explained π
okay bestie, so this is a User Contributed Perl Documentation page for DateTime::Locale::de_DE (that's section 3 of the manual, iykyk) and it's literally just a giant flex of every single locale data example available for the German Germany (de-DE) locale. like, it's not a function you call, it's a showcase β¨
π NAME π
DateTime::Locale::de_DE β locale data examples for the German Germany (de-DE) locale. that's the whole name, that's the vibe π«Ά
πΈ DESCRIPTION πΈ
This pod file contains examples of the locale data available for the German Germany locale. no cap, it's all here β days, months, quarters, eras, and then a whole buffet of formats. grab a snack, this one's long π
π¦ Days π¦
Wide (format) π
Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag
Abbreviated (format) β¨
note the lil periods, bestie β they're part of the data π
Mo.
Di.
Mi.
Do.
Fr.
Sa.
So.
Narrow (format) π
just single letters, and yes M and D show up twice β that's not a typo, that's literally what the locale says π
M
D
M
D
F
S
S
Wide (stand-alone) πΈ
same as wide format, iconic behavior:
Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag
Abbreviated (stand-alone) π«Ά
stand-alone versions have no periods. the way that's the whole difference π
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) π¦
okay so MΓ€rz, Mai, Juni and Juli are out here living their best full-word lives, while the rest got the period treatment. also Sept. is a whole four letters. respect π
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) πΈ
stand-alone again = no periods, and MΓ€r / Sep get shortened differently. the attention to detail, honestly π
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.
lowkey obsessed that all three are identical here. it's giving "we said what we said" π
π 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 this is the main character section fr. every key gets its parenthesised pattern up top, then three sample timestamps turned into strings. buckle up bestie, there's a lot of them π
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 = Di
1995-12-22T09:05:02 = Fr
-0010-09-15T04:44:23 = Sa
EBhm (E h:mm B) π¦
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) π¦
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) π
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) π
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.) π
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) πΈ
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) πΈ
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) π₯
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) π₯
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) π₯
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) π₯
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) π₯
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') π
2008-02-05T18:30:30 = 18 Uhr
1995-12-22T09:05:02 = 09 Uhr
-0010-09-15T04:44:23 = 04 Uhr
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 = Di., 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 = Di., 5. Feb.
1995-12-22T09:05:02 = Fr., 22. Dez.
-0010-09-15T04:44:23 = Sa., 15. Sept.
MMMMEd (E, d. MMMM) π
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) π
okay the plural rules said "one" so here it is, and yes all three examples still hit this pattern:
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) π
and the "other" bucket, matching character for character:
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) β¨
2008-02-05T18:30:30 = 5. Februar
1995-12-22T09:05:02 = 22. Dezember
-0010-09-15T04:44:23 = 15. September
MMMd (d. MMM) β¨
2008-02-05T18:30:30 = 5. Feb.
1995-12-22T09:05:02 = 22. Dez.
-0010-09-15T04:44:23 = 15. Sept.
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 'Uhr' a) π
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) π
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 (M/y) π
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) π
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) π
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 = Sept. -10
yMMMEd (E, d. MMM y) π
...and that's exactly where part 1 runs out, bestie π the examples for this one roll over into part 2 β don't go anywhere π«Ά
and the tail end of that last pattern was still doing its thing, so here's the wrap-up of it, no cap:
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
and now the rest of the pattern roster, bestie β every single one, with all three of its little test timestamps π
π yMMMM (MMMM y)
month-name-plus-year energy, it's giving calendar header:
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, abbreviated month, year β the classic:
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, extremely German about 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 (d.M.y)
same vibe as above but it refuses to pad anything, lowkey chaotic:
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, short and sweet:
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, main character spelling:
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-of-year, singular/one form (note the literal quoted words in the pattern β they stay quoted, periodt):
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)
and the "other" plural form β same pattern, same output, two separate entries because that's how the locale rolls π:
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 π
just the little settings, bestie, nothing scary:
- Prefers 24 hour time? Yes β 24-hour girlie all the way, no AM/PM slander here π«Ά
- Local first day of the week β
1(Montag) β weeks start on Monday, as they should, honestly iconic
β Strftime Patterns β
the old-school strftime crew β here's each one and its three test timestamps π
π %c (%a %d %b %Y %T %Z) β date time format
the full date-and-time combo platter:
2008-02-05T18:30:30 = Di. 05 Feb. 2008 18:30:30 UTC
1995-12-22T09:05:02 = Fr. 22 Dez. 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Sa. 15 Sept. -10 04:44:23 UTC
π %x (%d.%m.%Y) β date format
date only, dotted and zero-padded:
2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.09.-10
π %X (%T) β time format
time only, and yes %T is literally just %H:%M:%S living its life:
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.
and that's the whole thing, bestie, you ate π
β¨ this page is perl v5.42.0, dated 2024-12-12 β go forth and format your dates in German, fr fr πΈπ¦
π¦ 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