1 // moment.js language configuration
2 // language : swedish (sv)
3 // author : Jens Alm : https://github.com/ulmus
6 if (typeof define === 'function' && define.amd) {
7 define(['moment'], factory); // AMD
8 } else if (typeof exports === 'object') {
9 module.exports = factory(require('../moment')); // Node
11 factory(window.moment); // Browser global
14 return moment.lang('sv', {
15 months : "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
16 monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
17 weekdays : "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
18 weekdaysShort : "sön_mån_tis_ons_tor_fre_lör".split("_"),
19 weekdaysMin : "sö_må_ti_on_to_fr_lö".split("_"),
24 LLL : "D MMMM YYYY LT",
25 LLLL : "dddd D MMMM YYYY LT"
29 nextDay: '[Imorgon] LT',
32 lastWeek: '[Förra] dddd[en] LT',
37 past : "för %s sedan",
50 ordinal : function (number) {
52 output = (~~ (number % 100 / 10) === 1) ? 'e' :
55 (b === 3) ? 'e' : 'e';
56 return number + output;
59 dow : 1, // Monday is the first day of the week.
60 doy : 4 // The week that contains Jan 4th is the first week of the year.