DateTim...ale::nn(3)
๐ DateTime::Locale::nn โ the Norwegian Nynorsk locale, bestie edition
okay so this is from the DateTime::Locale::nn manual page โ header vibes: DateTim...ale::nn(3), cooked up by the User Contributed Perl Documentation crew, and it's filed under DateTim...ale::nn(3) (yes the truncation is giving "we ran out of terminal width" energy, it's fine, we move).
โจ NAME โจ
DateTime::Locale::nn โ literally just locale data examples for the Norwegian Nynorsk (nn) locale. that's the whole assignment. ๐
๐ฆ DESCRIPTION ๐ฆ
this pod file is a whole show-and-tell of the locale data you get for the Norwegian Nynorsk locale. no cap, it's just examples of every little string the locale knows about, laid out so you can vibe-check them.
๐ Days
Wide (format)
mรฅndag
tysdag
onsdag
torsdag
fredag
laurdag
sรธndag
Abbreviated (format)
mรฅ.
ty.
on.
to.
fr.
la.
sรธ.
Narrow (format)
M
T
O
T
F
L
S
Wide (stand-alone)
mรฅndag
tysdag
onsdag
torsdag
fredag
laurdag
sรธndag
Abbreviated (stand-alone)
mรฅn
tys
ons
tor
fre
lau
sรธn
Narrow (stand-alone)
M
T
O
T
F
L
S
bestie note: the narrow forms have twoTs and twoMs and twoSs and honestly that's just how it is, don't come for me. ๐
๐ธ Months
Wide (format)
januar
februar
mars
april
mai
juni
juli
august
september
oktober
november
desember
Abbreviated (format)
jan.
feb.
mars
apr.
mai
juni
juli
aug.
sep.
okt.
nov.
des.
Narrow (format)
J
F
M
A
M
J
J
A
S
O
N
D
Wide (stand-alone)
januar
februar
mars
april
mai
juni
juli
august
september
oktober
november
desember
Abbreviated (stand-alone)
jan
feb
mar
apr
mai
jun
jul
aug
sep
okt
nov
des
Narrow (stand-alone)
J
F
M
A
M
J
J
A
S
O
N
D
the way the stand-alone abbreviations drop the little dots (jan.โjan) is lowkey iconic.marsandmaidon't even change because they're already short kings. ๐
โญ Quarters
Wide (format)
1. kvartal
2. kvartal
3. kvartal
4. kvartal
Abbreviated (format)
K1
K2
K3
K4
Narrow (format)
1
2
3
4
Wide (stand-alone)
1. kvartal
2. kvartal
3. kvartal
4. kvartal
Abbreviated (stand-alone)
K1
K2
K3
K4
Narrow (stand-alone)
1
2
3
4
๐ง Eras
Wide (format)
fรธr Kristus
etter Kristus
Abbreviated (format)
f.Kr.
e.Kr.
Narrow (format)
f.Kr.
e.Kr.
๐ Date Formats
Full
2008-02-05T18:30:30 = tysdag 5. februar 2008
1995-12-22T09:05:02 = fredag 22. desember 1995
-0010-09-15T04:44:23 = laurdag 15. september -10
Long
2008-02-05T18:30:30 = 5. februar 2008
1995-12-22T09:05:02 = 22. desember 1995
-0010-09-15T04:44:23 = 15. september -10
Medium
2008-02-05T18:30:30 = 5. feb. 2008
1995-12-22T09:05:02 = 22. des. 1995
-0010-09-15T04:44:23 = 15. sep. -10
Short
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 = kl. 18:30:30 UTC
1995-12-22T09:05:02 = kl. 09:05:02 UTC
-0010-09-15T04:44:23 = kl. 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
the kl. prefix in Full is doing main character work, and then Long just drops it like it never happened. character development. โจ
๐ Datetime Formats
Full
2008-02-05T18:30:30 = tysdag 5. februar 2008 kl. 18:30:30 UTC
1995-12-22T09:05:02 = fredag 22. desember 1995 kl. 09:05:02 UTC
-0010-09-15T04:44:23 = laurdag 15. september -10 kl. 04:44:23 UTC
Long
2008-02-05T18:30:30 = 5. februar 2008 kl. 18:30:30 UTC
1995-12-22T09:05:02 = 22. desember 1995 kl. 09:05:02 UTC
-0010-09-15T04:44:23 = 15. september -10 kl. 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 5. feb. 2008, 18:30:30
1995-12-22T09:05:02 = 22. des. 1995, 09:05:02
-0010-09-15T04:44:23 = 15. sep. -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 section is the motherlode โ every named pattern plus three sample renders, all copied exactly because I would never fudge your data. ๐
Bhโ patternh B
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
Bhmโ patternh: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โ patternh: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โ patternccc
2008-02-05T18:30:30 = tys
1995-12-22T09:05:02 = fre
-0010-09-15T04:44:23 = lau
EBhmโ patternE h:mm B
2008-02-05T18:30:30 = ty. 6:30 B
1995-12-22T09:05:02 = fr. 9:05 B
-0010-09-15T04:44:23 = la. 4:44 B
EBhmsโ patternE h:mm:ss B
2008-02-05T18:30:30 = ty. 6:30:30 B
1995-12-22T09:05:02 = fr. 9:05:02 B
-0010-09-15T04:44:23 = la. 4:44:23 B
EHmโ patternE HH:mm
2008-02-05T18:30:30 = ty. 18:30
1995-12-22T09:05:02 = fr. 09:05
-0010-09-15T04:44:23 = la. 04:44
EHmsโ patternE HH:mm:ss
2008-02-05T18:30:30 = ty. 18:30:30
1995-12-22T09:05:02 = fr. 09:05:02
-0010-09-15T04:44:23 = la. 04:44:23
Edโ patternE d.
2008-02-05T18:30:30 = ty. 5.
1995-12-22T09:05:02 = fr. 22.
-0010-09-15T04:44:23 = la. 15.
Ehmโ patternE h:mm a
2008-02-05T18:30:30 = ty. 6:30 e.m.
1995-12-22T09:05:02 = fr. 9:05 f.m.
-0010-09-15T04:44:23 = la. 4:44 f.m.
Ehmsโ patternE h:mm:ss a
2008-02-05T18:30:30 = ty. 6:30:30 e.m.
1995-12-22T09:05:02 = fr. 9:05:02 f.m.
-0010-09-15T04:44:23 = la. 4:44:23 f.m.
Gyโ patterny G
2008-02-05T18:30:30 = 2008 e.Kr.
1995-12-22T09:05:02 = 1995 e.Kr.
-0010-09-15T04:44:23 = -10 f.Kr.
GyMMMโ patternMMM y G
2008-02-05T18:30:30 = feb. 2008 e.Kr.
1995-12-22T09:05:02 = des. 1995 e.Kr.
-0010-09-15T04:44:23 = sep. -10 f.Kr.
GyMMMEdโ patternE d. MMM y G
2008-02-05T18:30:30 = ty. 5. feb. 2008 e.Kr.
1995-12-22T09:05:02 = fr. 22. des. 1995 e.Kr.
-0010-09-15T04:44:23 = la. 15. sep. -10 f.Kr.
GyMMMdโ patternd. MMM y G
2008-02-05T18:30:30 = 5. feb. 2008 e.Kr.
1995-12-22T09:05:02 = 22. des. 1995 e.Kr.
-0010-09-15T04:44:23 = 15. sep. -10 f.Kr.
GyMdโ patterndd.MM.y GGGGG
2008-02-05T18:30:30 = 05.02.2008 e.Kr.
1995-12-22T09:05:02 = 22.12.1995 e.Kr.
-0010-09-15T04:44:23 = 15.09.-10 f.Kr.
Hโ patternHH
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
Hmโ patternHH:mm
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
Hmsโ patternHH: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โ patternHH: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โ patternHH: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โ patternL.
2008-02-05T18:30:30 = 2.
1995-12-22T09:05:02 = 12.
-0010-09-15T04:44:23 = 9.
MEdโ patternE d.M.
2008-02-05T18:30:30 = ty. 5.2.
1995-12-22T09:05:02 = fr. 22.12.
-0010-09-15T04:44:23 = la. 15.9.
MMMโ patternLLL
2008-02-05T18:30:30 = feb
1995-12-22T09:05:02 = des
-0010-09-15T04:44:23 = sep
MMMEdโ patternE d. MMM
2008-02-05T18:30:30 = ty. 5. feb.
1995-12-22T09:05:02 = fr. 22. des.
-0010-09-15T04:44:23 = la. 15. sep.
MMMMW-count-oneโ pattern'veke' W 'i' MMMM
2008-02-05T18:30:30 = veke 1 i februar
1995-12-22T09:05:02 = veke 3 i desember
-0010-09-15T04:44:23 = veke 2 i september
MMMMW-count-otherโ pattern'veke' W 'i' MMMM
2008-02-05T18:30:30 = veke 1 i februar
1995-12-22T09:05:02 = veke 3 i desember
-0010-09-15T04:44:23 = veke 2 i september
yesMMMMW-count-oneandMMMMW-count-otherrender identically here. they're twins. matching outfits. not a typo on my end, I promise. ๐ซถ
MMMMdโ patternd. MMMM
2008-02-05T18:30:30 = 5. februar
1995-12-22T09:05:02 = 22. desember
-0010-09-15T04:44:23 = 15. september
MMMdโ patternd. MMM
2008-02-05T18:30:30 = 5. feb.
1995-12-22T09:05:02 = 22. des.
-0010-09-15T04:44:23 = 15. sep.
MMddโ patternd.M.
2008-02-05T18:30:30 = 5.2.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.9.
Mdโ patternd.M.
2008-02-05T18:30:30 = 5.2.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.9.
dโ patternd.
2008-02-05T18:30:30 = 5.
1995-12-22T09:05:02 = 22.
-0010-09-15T04:44:23 = 15.
hโ patternh a
2008-02-05T18:30:30 = 6 e.m.
1995-12-22T09:05:02 = 9 f.m.
-0010-09-15T04:44:23 = 4 f.m.
hmโ patternh:mm a
2008-02-05T18:30:30 = 6:30 e.m.
1995-12-22T09:05:02 = 9:05 f.m.
-0010-09-15T04:44:23 = 4:44 f.m.
hmsโ patternh:mm:ss a
2008-02-05T18:30:30 = 6:30:30 e.m.
1995-12-22T09:05:02 = 9:05:02 f.m.
-0010-09-15T04:44:23 = 4:44:23 f.m.
hmsvโ patternh:mm:ss a v
2008-02-05T18:30:30 = 6:30:30 e.m. UTC
1995-12-22T09:05:02 = 9:05:02 f.m. UTC
-0010-09-15T04:44:23 = 4:44:23 f.m. UTC
hmvโ patternh:mm a v
2008-02-05T18:30:30 = 6:30 e.m. UTC
1995-12-22T09:05:02 = 9:05 f.m. UTC
-0010-09-15T04:44:23 = 4:44 f.m. UTC
msโ patternmm:ss
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
yโ patterny
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yMโ patternM.y
2008-02-05T18:30:30 = 2.2008
1995-12-22T09:05:02 = 12.1995
-0010-09-15T04:44:23 = 9.-10
yMEdโ patternE d.M.y
2008-02-05T18:30:30 = ty. 5.2.2008
1995-12-22T09:05:02 = fr. 22.12.1995
-0010-09-15T04:44:23 = la. 15.9.-10
yMMโ patternMM.y
2008-02-05T18:30:30 = 02.2008
1995-12-22T09:05:02 = 12.1995
-0010-09-15T04:44:23 = 09.-10
yMMMโ patternMMM y
2008-02-05T18:30:30 = feb. 2008
1995-12-22T09:05:02 = des. 1995
-0010-09-15T04:44:23 = sep. -10
yMMMEdโ patternE d. MMM y
2008-02-05T18:30:30 = ty. 5. feb. 2008
1995-12-22T09:05:02 = fr. 22. des. 1995
-0010-09-15T04:44:23 = la. 15. sep. -10
yMMMMโ patternMMMM y
2008-02-05T18:30:30 = februar 2008
1995-12-22T09:05:02 = desember 1995
-0010-09-15T04:44:23 = september -10
yMMMdโ patternd. MMM y
and that's exactly where part 1 runs out, bestie ๐ญ the yMMMd sample renders are literally on the next page โ more parts follow, so don't go anywhere, the data is coming ๐
โฆand the pattern parade absolutely did not stop, bestie ๐
same three timestamps every single time so you can compare the glow-ups side by side โ 2008-02-05T18:30:30, 1995-12-22T09:05:02, and -0010-09-15T04:44:23 (yes that last one is a negative year, she's thriving ๐).
2008-02-05T18:30:30 = 5. feb. 2008
1995-12-22T09:05:02 = 22. des. 1995
-0010-09-15T04:44:23 = 15. sep. -10
yMd (d.M.y)โ the short numeric date, dots instead of slashes, very Scandinavian of her ๐
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 energy, abbreviated. Short and sassy โจ
2008-02-05T18:30:30 = K1 2008
1995-12-22T09:05:02 = K4 1995
-0010-09-15T04:44:23 = K3 -10
yQQQQ (QQQQ y)โ the full quarter flex, no abbreviations, main character energy ๐
2008-02-05T18:30:30 = 1. kvartal 2008
1995-12-22T09:05:02 = 4. kvartal 1995
-0010-09-15T04:44:23 = 3. kvartal -10
yw-count-one ('veke' w 'i' Y)โ week number, singular form, literally spelling out the word for "week" and "in" right there in the pattern ๐๏ธ
2008-02-05T18:30:30 = veke 6 i 2008
1995-12-22T09:05:02 = veke 51 i 1995
-0010-09-15T04:44:23 = veke 37 i -10
yw-count-other ('veke' w 'i' Y)โ same pattern string, the "other" plural/่ฎกๆฐ variant. Identical output here, because Nynorsk said "veke is veke" and honestly? iconic ๐ธ
2008-02-05T18:30:30 = veke 6 i 2008
1995-12-22T09:05:02 = veke 51 i 1995
-0010-09-15T04:44:23 = veke 37 i -10
โจ MISCELLANEOUS โจ
The little vibe-check facts about this locale, no cap:
- Prefers 24 hour time? โ Yes ๐ no AM/PM chaos here, we do
18:30:30and we mean it. - Local first day of the week โ
1 (mรฅndag)๐ week starts on Monday, as it should.
๐ STRFTIME PATTERNS ๐
Now the strftime classics โ the OG format codes, translated into Nynorsk for you:
%c(%a %b %e %H:%M:%S %Y) - date time format โ the whole date and time in one go, abbreviated day name, abbreviated month name, space-padded day, then the clock, then the year โญ
2008-02-05T18:30:30 = ty. feb. 5 18:30:30 2008
1995-12-22T09:05:02 = fr. des. 22 09:05:02 1995
-0010-09-15T04:44:23 = la. sep. 15 04:44:23 -10
%x(%m/%d/%y) - date format โ the date-only one, month/day/two-digit-year, slashed up ๐
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 โ time-only, 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
Little heads-up bestie: keep an eye on those spaces in the%coutput โ thatty. feb. 5has a double space in there, and it's supposed to. Copy it exactly, don't "tidy" it ๐
๐ SUPPORT ๐
Need more? See DateTime::Locale. That's the whole support section, she's lowkey mysterious like that ๐ซถ
and that's the whole page, bestie โ you ate that ๐โจ
this beauty shipped as part of perl v5.42.0, dated 2024-12-12 โ go forth and format your Nynorsk dates with confidence, no cap ๐
๐ฆ 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