1 //! moment.js locale configuration
2 //! locale : Swedish [sv]
3 //! author : Jens Alm : https://github.com/ulmus
5 ;(function (global, factory) {
6 typeof exports === 'object' && typeof module !== 'undefined'
7 && typeof require === 'function' ? factory(require('../moment')) :
8 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 }(this, (function (moment) { 'use strict';
12 //! moment.js locale configuration
14 var sv = moment.defineLocale('sv', {
15 months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
18 monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
19 weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
20 weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
21 weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
27 LLL: 'D MMMM YYYY [kl.] HH:mm',
28 LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
29 lll: 'D MMM YYYY HH:mm',
30 llll: 'ddd D MMM YYYY HH:mm',
34 nextDay: '[Imorgon] LT',
36 nextWeek: '[På] dddd LT',
37 lastWeek: '[I] dddd[s] LT',
56 dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
57 ordinal: function (number) {
60 ~~((number % 100) / 10) === 1
69 return number + output;
72 dow: 1, // Monday is the first day of the week.
73 doy: 4, // The week that contains Jan 4th is the first week of the year.