Sha256: bbe89b952dda5f9a67dfd9ffd52ab0f127386ade5601b7a6c6f991cecd9d70f7

Contents?: true

Size: 1.99 KB

Versions: 11

Compression:

Stored size: 1.99 KB

Contents

//! moment.js locale configuration
//! locale : norwegian nynorsk (nn)
//! author : https://github.com/mechuwind

(function (global, factory) {
   typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
   typeof define === 'function' && define.amd ? define(['moment'], factory) :
   factory(global.moment)
}(this, function (moment) { 'use strict';


    var nn = moment.defineLocale('nn', {
        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('_'),
        weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
        weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
        weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
        longDateFormat : {
            LT : 'HH:mm',
            LTS : 'LT:ss',
            L : 'DD.MM.YYYY',
            LL : 'D MMMM YYYY',
            LLL : 'D MMMM YYYY LT',
            LLLL : 'dddd D MMMM YYYY LT'
        },
        calendar : {
            sameDay: '[I dag klokka] LT',
            nextDay: '[I morgon klokka] LT',
            nextWeek: 'dddd [klokka] LT',
            lastDay: '[I går klokka] LT',
            lastWeek: '[Føregåande] dddd [klokka] LT',
            sameElse: 'L'
        },
        relativeTime : {
            future : 'om %s',
            past : 'for %s sidan',
            s : 'nokre sekund',
            m : 'eit minutt',
            mm : '%d minutt',
            h : 'ein time',
            hh : '%d timar',
            d : 'ein dag',
            dd : '%d dagar',
            M : 'ein månad',
            MM : '%d månader',
            y : 'eit år',
            yy : '%d år'
        },
        ordinalParse: /\d{1,2}\./,
        ordinal : '%d.',
        week : {
            dow : 1, // Monday is the first day of the week.
            doy : 4  // The week that contains Jan 4th is the first week of the year.
        }
    });

    return nn;

}));

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
momentjs-rails-2.10.3 vendor/assets/javascripts/moment/nn.js
sedge_cms-0.0.1 vendor/assets/components/moment/locale/nn.js
date_picker-0.0.6 test/dummy/vendor/assets/components/moment/locale/nn.js
date_picker-0.0.5 test/dummy/vendor/assets/components/moment/locale/nn.js
date_picker-0.0.4 test/dummy/vendor/assets/components/moment/locale/nn.js
date_picker-0.0.3 test/dummy/vendor/assets/components/moment/locale/nn.js
date_picker-0.0.2 test/dummy/vendor/assets/components/moment/locale/nn.js
date_picker-0.0.1 test/dummy/vendor/assets/components/moment/locale/nn.js
momentjs-rails-2.10.2 vendor/assets/javascripts/moment/nn.js
puppet-herald-0.8.1 lib/puppet-herald/public/bower_components/moment/locale/nn.js
puppet-herald-0.8.0 lib/puppet-herald/public/bower_components/moment/locale/nn.js