DateTim...e::nb_NO(3)

🦋 DateTim...e::nb_NO(3) 🦋

okay bestie, welcome to the nb-NO data tour — this is the User Contributed Perl Documentation page for the DateTime::Locale::nb_NO module, and it's basically a full photo album of everything the Norwegian Bokmål Norway locale knows how to say. 💅


🌸 NAME 🌸

DateTime::Locale::nb_NO — locale data examples for the Norwegian Bokmål Norway (nb-NO) locale. That's the whole name, no cap. 🫶


✨ DESCRIPTION ✨

This pod file is literally just a showcase — it contains examples of the locale data that's available for the Norwegian Bokmål Norway locale. Think of it as the mood board: every day name, month name, quarter, era and format pattern the locale has, with real dates plugged in so you can see how it looks. 🎀


📅 Days

Wide (format)

mandag
tirsdag
onsdag
torsdag
fredag
lørdag
søndag

Abbreviated (format)

man.
tir.
ons.
tor.
fre.
lør.
søn.

Narrow (format)

M
T
O
T
F
L
S
heads up: the narrow ones are just single letters, so yeah, T shows up twice (tirsdag and torsdag) and honestly that's the vibe. Not a typo, she's just built like that. 💀

Wide (stand-alone)

mandag
tirsdag
onsdag
torsdag
fredag
lørdag
søndag

Abbreviated (stand-alone)

man.
tir.
ons.
tor.
fre.
lør.
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.
iykyk: mars, mai, juni and juli don't get a little dot in the abbreviated format — they're already short enough to be iconic on their own. 👑

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
the way that these have no dots at all while the format versions do — jan. vs jan. She's a different girl, ok? 💅

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 = tirsdag 5. februar 2008
1995-12-22T09:05:02 = fredag 22. desember 1995
-0010-09-15T04:44:23 = lørdag 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
side note: that third example in every single one of these is the year -10 — yes, negative years are a whole thing and she handles them gracefully. 🧚

⏰ 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 = tirsdag 5. februar 2008, 18:30:30 UTC
1995-12-22T09:05:02 = fredag 22. desember 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = lørdag 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. desember 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15. september -10, 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 🔥

this is the big one, bestie — every named format key, plus the pattern it maps to in parentheses, plus samples. Obsessed with the consistency here 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 = tir.
1995-12-22T09:05:02 = fre.
-0010-09-15T04:44:23 = lør.

EBhm (E h:mm B)

2008-02-05T18:30:30 = tir. 6:30 B
1995-12-22T09:05:02 = fre. 9:05 B
-0010-09-15T04:44:23 = lør. 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = tir. 6:30:30 B
1995-12-22T09:05:02 = fre. 9:05:02 B
-0010-09-15T04:44:23 = lør. 4:44:23 B

EHm (E 'kl'. HH:mm)

2008-02-05T18:30:30 = tir. kl. 18:30
1995-12-22T09:05:02 = fre. kl. 09:05
-0010-09-15T04:44:23 = lør. kl. 04:44

EHms (E 'kl'. HH:mm:ss)

2008-02-05T18:30:30 = tir. kl. 18:30:30
1995-12-22T09:05:02 = fre. kl. 09:05:02
-0010-09-15T04:44:23 = lør. kl. 04:44:23

Ed (E d.)

2008-02-05T18:30:30 = tir. 5.
1995-12-22T09:05:02 = fre. 22.
-0010-09-15T04:44:23 = lør. 15.

Ehm (E h:mm a)

2008-02-05T18:30:30 = tir. 6:30 p.m.
1995-12-22T09:05:02 = fre. 9:05 a.m.
-0010-09-15T04:44:23 = lør. 4:44 a.m.

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = tir. 6:30:30 p.m.
1995-12-22T09:05:02 = fre. 9:05:02 a.m.
-0010-09-15T04:44:23 = lør. 4:44:23 a.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 = tir. 5. feb. 2008 e.Kr.
1995-12-22T09:05:02 = fre. 22. des. 1995 e.Kr.
-0010-09-15T04:44:23 = lør. 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 = tir. 5.2.
1995-12-22T09:05:02 = fre. 22.12.
-0010-09-15T04:44:23 = lør. 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 = tir. 5. feb.
1995-12-22T09:05:02 = fre. 22. des.
-0010-09-15T04:44:23 = lør. 15. sep.

MMMMW-count-one ('den' W. 'uken' 'i' MMMM)

2008-02-05T18:30:30 = den 1. uken i februar
1995-12-22T09:05:02 = den 3. uken i desember
-0010-09-15T04:44:23 = den 2. uken i september

MMMMW-count-other ('den' W. 'uken' 'i' MMMM)

2008-02-05T18:30:30 = den 1. uken i februar
1995-12-22T09:05:02 = den 3. uken i desember
-0010-09-15T04:44:23 = den 2. uken i september
cute detail: count-one and count-other are two separate keys but the outputs are identical here. She said "same energy" and moved on. 🦋

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

hm (h:mm a)

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

hms (h:mm:ss a)

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

hmsv (h:mm:ss a v)

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

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 p.m. UTC
1995-12-22T09:05:02 = 9:05 a.m. UTC
-0010-09-15T04:44:23 = 4:44 a.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
lowkey obsessed</> with ms just being minutes and seconds, no hours anywhere. Main character energy. ⏱️

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 = tir. 5.2.2008
1995-12-22T09:05:02 = fre. 22.12.1995
-0010-09-15T04:44:23 = lør. 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 = tir. 5. feb. 2008
1995-12-22T09:05:02 = fre. 22. des. 1995
-0010-09-15T04:44:23 = lør. 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

✨ continuing the pattern tour, bestie, hold my iced coffee ✨

yMMMd (d. MMM y)

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)

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)

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

yQQQQ (QQQQ y)

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 ('uke' w 'i' Y)

2008-02-05T18:30:30 = uke 6 i 2008
1995-12-22T09:05:02 = uke 51 i 1995
-0010-09-15T04:44:23 = uke 37 i -10

yw-count-other ('uke' w 'i' Y)

2008-02-05T18:30:30 = uke 6 i 2008
1995-12-22T09:05:02 = uke 51 i 1995
-0010-09-15T04:44:23 = uke 37 i -10
lowkey obsessed that yw-count-one and yw-count-other spit out the exact same thing for all three sample dates — that's not me being lazy, that's literally what the page says, iykyk 💅

🫶 Miscellaneous (the lil' vibe check section) 🫶

  • Prefers 24 hour time? — Yes ⏰ (no AM/PM chaos here, we're doing this properly)
  • Local first day of the week — 1 (mandag) 🌸

🦋 Strftime Patterns (the classic strftime fits) 🦋

%c (%a %d. %b %Y kl. %H.%M %z) — date time format

2008-02-05T18:30:30 = tir. 05. feb. 2008 kl. 18.30 +0000
1995-12-22T09:05:02 = fre. 22. des. 1995 kl. 09.05 +0000
-0010-09-15T04:44:23 = lør. 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
💀 pls note the kl. situation — that's Norwegian for "klokka", aka "o'clock", and it's giving main character energy in every single timestamp. Also %X still carries %z, so the offset stays in the time format. Periodt.

💜 SUPPORT 💜

See DateTime::Locale. 🎀


That's the whole nb_NO glow-up, bestie — you now know your d. MMM y from your QQQQ y and honestly? Iconic. 🧚‍♀️💖

This slice of the docs came from the perl v5.42.0 toolchain, generated on 2024-12-12, and the footer whispered DateTim...e::nb_NO(3) — so when you cite it, cite it with love 🫶✨🌸

📦 where this page comes from