DateTim...e::nn_NO(3)

πŸ’– NAME πŸ’–

ok so bestie, welcome to DateTime::Locale::nn_NO β€” the locale data examples for the Norwegian Nynorsk Norway locale (that's nn-NO if you're in the group chat πŸ’…). It ships as part of the User Contributed Perl Documentation and it lives at DateTim...e::nn_NO(3) in the man pages, iykyk.


✨ DESCRIPTION ✨

This pod file is literally just a showcase β€” a little lookbook, if you will πŸŽ€ β€” of the locale data available for the Norwegian Nynorsk Norway locale. No cap, it's all examples.

πŸ—“οΈ 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

🌸 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

πŸ¦‹ 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

🌈 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

ok this next bit is the big one, the main character of the whole doc β€” every named format the locale has, with the pattern in parens and the three sample timestamps rendered through it. Obsessed. 🫢

  • 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 = tys
    • 1995-12-22T09:05:02 = fre
    • -0010-09-15T04:44:23 = lau
  • EBhm β€” E 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 β€” E 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 β€” E 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 β€” E 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 β€” E d.
    • 2008-02-05T18:30:30 = ty. 5.
    • 1995-12-22T09:05:02 = fr. 22.
    • -0010-09-15T04:44:23 = la. 15.
  • Ehm β€” E 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 β€” E 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 β€” y 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 β€” MMM 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 β€” E 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 β€” d. 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 β€” dd.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 β€” 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 β€” E 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 β€” LLL
    • 2008-02-05T18:30:30 = feb
    • 1995-12-22T09:05:02 = des
    • -0010-09-15T04:44:23 = sep
  • MMMEd β€” E 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 β€” '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 β€” '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
  • MMMMd β€” d. MMMM
    • 2008-02-05T18:30:30 = 5. februar
    • 1995-12-22T09:05:02 = 22. desember
    • -0010-09-15T04:44:23 = 15. september
  • MMMd β€” d. MMM
    • 2008-02-05T18:30:30 = 5. feb.
    • 1995-12-22T09:05:02 = 22. des.
    • -0010-09-15T04:44:23 = 15. sep.
  • MMdd β€” d.M.
    • 2008-02-05T18:30:30 = 5.2.
    • 1995-12-22T09:05:02 = 22.12.
    • -0010-09-15T04:44:23 = 15.9.
  • 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 e.m.
    • 1995-12-22T09:05:02 = 9 f.m.
    • -0010-09-15T04:44:23 = 4 f.m.
  • hm β€” h: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 β€” h: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 β€” h: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 β€” h: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 β€” 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 = ty. 5.2.2008
    • 1995-12-22T09:05:02 = fr. 22.12.1995
    • -0010-09-15T04:44:23 = la. 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 = des. 1995
    • -0010-09-15T04:44:23 = sep. -10
  • yMMMEd β€” E 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 β€” MMMM y
    • 2008-02-05T18:30:30 = februar 2008
    • 1995-12-22T09:05:02 = desember 1995
    • -0010-09-15T04:44:23 = september -10
  • yMMMd β€” d. MMM y

…and the list keeps on going, bestie β€” part 2 has the rest of yMMMd and everything after it πŸ’€βœ¨

carrying straight on with the pattern examples, no interruption, we're in flow now ✨

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 compact numeric one, bestie β€” day, month, year, dotted up, zero cute filler text:

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 β€” K plus the number, then the year. that's it, that's the whole vibe:

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

yQQQQ (QQQQ y) πŸ‘‘

now the spelled out quarter, main character edition β€” kvartal in full, number first:

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-of-year, the singular form β€” literally veke + week number + i + year:

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) 🌷

the plural/other count version, and ngl it renders exactly the same as the one above β€” same pattern, same output, and yes i checked twice:

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 settings that just exist, quietly doing their job:

  • Prefers 24 hour time? Yes β€” 24h girlie through and through πŸ’…
  • Local first day of the week: 1 (mΓ₯ndag) β€” monday stans rise 🫢

Strftime Patterns πŸ’–

these are the classic strftime escapes, localized to this locale. they're used everywhere, so know them, love them:

  • %c (%a %d. %b %Y kl. %H.%M %z) β€” date time format
2008-02-05T18:30:30 = ty. 05. feb. 2008 kl. 18.30 +0000
1995-12-22T09:05:02 = fr. 22. des. 1995 kl. 09.05 +0000
-0010-09-15T04:44:23 = la. 15. sep. -10 kl. 04.44 +0000
  • %x (%d. %b %Y) β€” date format
2008-02-05T18:30:30 = 05. feb. 2008
1995-12-22T09:05:02 = 22. des. 1995
-0010-09-15T04:44:23 = 15. sep. -10
  • %X (kl. %H.%M %z) β€” time format
2008-02-05T18:30:30 = kl. 18.30 +0000
1995-12-22T09:05:02 = kl. 09.05 +0000
-0010-09-15T04:44:23 = kl. 04.44 +0000
lowkey obsessed with the fact that the time format literally starts with kl. β€” it's giving "klokka" and it's adorable πŸ’€

SUPPORT 🫢

need more? the official answer, short and sweet:

See DateTime::Locale.


aaaand that's a wrap, bestie πŸŽ€ this page came to you courtesy of perl v5.42.0, dated 2024-12-12, filed under the ever-so-slightly-truncated name DateTim...e::nn_NO(3) β€” iconic of it honestly. go format some dates in norwegian, you earned it πŸ’œ

πŸ“¦ where this page comes from