[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/js/vendor/moment-js/locale/ -> nb.js (source)

   1  //! moment.js locale configuration
   2  //! locale : Norwegian Bokmål [nb]
   3  //! authors : Espen Hovlandsdal : https://github.com/rexxars
   4  //!           Sigurd Gartmann : https://github.com/sigurdga
   5  
   6  ;(function (global, factory) {
   7     typeof exports === 'object' && typeof module !== 'undefined'
   8         && typeof require === 'function' ? factory(require('../moment')) :
   9     typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  10     factory(global.moment)
  11  }(this, function (moment) { 'use strict';
  12  
  13  
  14      var nb = moment.defineLocale('nb', {
  15          months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  16          monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  17          monthsParseExact : true,
  18          weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  19          weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  20          weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
  21          weekdaysParseExact : true,
  22          longDateFormat : {
  23              LT : 'HH:mm',
  24              LTS : 'HH:mm:ss',
  25              L : 'DD.MM.YYYY',
  26              LL : 'D. MMMM YYYY',
  27              LLL : 'D. MMMM YYYY [kl.] HH:mm',
  28              LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
  29          },
  30          calendar : {
  31              sameDay: '[i dag kl.] LT',
  32              nextDay: '[i morgen kl.] LT',
  33              nextWeek: 'dddd [kl.] LT',
  34              lastDay: '[i går kl.] LT',
  35              lastWeek: '[forrige] dddd [kl.] LT',
  36              sameElse: 'L'
  37          },
  38          relativeTime : {
  39              future : 'om %s',
  40              past : '%s siden',
  41              s : 'noen sekunder',
  42              m : 'ett minutt',
  43              mm : '%d minutter',
  44              h : 'en time',
  45              hh : '%d timer',
  46              d : 'en dag',
  47              dd : '%d dager',
  48              M : 'en måned',
  49              MM : '%d måneder',
  50              y : 'ett år',
  51              yy : '%d år'
  52          },
  53          ordinalParse: /\d{1,2}\./,
  54          ordinal : '%d.',
  55          week : {
  56              dow : 1, // Monday is the first day of the week.
  57              doy : 4  // The week that contains Jan 4th is the first week of the year.
  58          }
  59      });
  60  
  61      return nb;
  62  
  63  }));


Generated: Tue Mar 2 01:01:35 2021 Cross-referenced by PHPXref 0.7.1