From: Sigurd Gartmann Date: Wed, 8 Jul 2015 21:27:10 +0000 (+0200) Subject: Have found several references which cites the official abbreviation statements X-Git-Tag: 2.11.0~60^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f0bb05cf2716278327a78b0eb2b7b649ca80b3b;p=thirdparty%2Fmoment.git Have found several references which cites the official abbreviation statements 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. --- diff --git a/locale/nb.js b/locale/nb.js index 7e54daae3..085bcd1b0 100644 --- a/locale/nb.js +++ b/locale/nb.js @@ -12,9 +12,9 @@ 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',