http://i18n.skolelinux.no/localeoppsett.html is the resource most norwegian
software localizers use.
For months, we have the full version and the short version which does not
abbreviate the shortest month names. Abbreviations ends with a ".".
For weekdays, we have the full version and the abbreviated version. All
abbreviations should be two letters and a ".". I let the minimal be the
abbreviated version without the ".", and assume this will be used where it is
obvious that it is an abbreviation.
var nb = moment.defineLocale('nb', {
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
- monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
+ monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
- weekdaysShort : 'søn_man_tirs_ons_tors_fre_lør'.split('_'),
+ weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
longDateFormat : {
LT : 'HH:mm',