UNPKG

2.39 kBJavaScriptView Raw
1//! moment.js locale configuration
2//! locale : Nynorsk [nn]
3//! authors : https://github.com/mechuwind
4//! Stephen Ramthun : https://github.com/stephenramthun
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 //! moment.js locale configuration
14
15 var nn = moment.defineLocale('nn', {
16 months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
17 '_'
18 ),
19 monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
20 '_'
21 ),
22 monthsParseExact: true,
23 weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
24 weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
25 weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
26 weekdaysParseExact: true,
27 longDateFormat: {
28 LT: 'HH:mm',
29 LTS: 'HH:mm:ss',
30 L: 'DD.MM.YYYY',
31 LL: 'D. MMMM YYYY',
32 LLL: 'D. MMMM YYYY [kl.] H:mm',
33 LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
34 },
35 calendar: {
36 sameDay: '[I dag klokka] LT',
37 nextDay: '[I morgon klokka] LT',
38 nextWeek: 'dddd [klokka] LT',
39 lastDay: '[I går klokka] LT',
40 lastWeek: '[Føregåande] dddd [klokka] LT',
41 sameElse: 'L',
42 },
43 relativeTime: {
44 future: 'om %s',
45 past: '%s sidan',
46 s: 'nokre sekund',
47 ss: '%d sekund',
48 m: 'eit minutt',
49 mm: '%d minutt',
50 h: 'ein time',
51 hh: '%d timar',
52 d: 'ein dag',
53 dd: '%d dagar',
54 w: 'ei veke',
55 ww: '%d veker',
56 M: 'ein månad',
57 MM: '%d månader',
58 y: 'eit år',
59 yy: '%d år',
60 },
61 dayOfMonthOrdinalParse: /\d{1,2}\./,
62 ordinal: '%d.',
63 week: {
64 dow: 1, // Monday is the first day of the week.
65 doy: 4, // The week that contains Jan 4th is the first week of the year.
66 },
67 });
68
69 return nn;
70
71})));