Skip to content

Commit

Permalink
Update nb.js
Browse files Browse the repository at this point in the history
Norway (Norwegian Bokmål) follows ISO 8601 weeks.
So adding `yearStart: 4` should help display correct week with `weekOfYear` plugin (`.week()` function).
  • Loading branch information
torgnywalin authored Aug 16, 2021
1 parent e2feb6b commit 133a4fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/locale/nb.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const locale = {
monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
ordinal: n => `${n}.`,
weekStart: 1,
yearStart: 4,
formats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
Expand Down

0 comments on commit 133a4fc

Please sign in to comment.