vendor/assets/javascripts/moment/sv.js in momentjs-rails-2.11.1 vs vendor/assets/javascripts/moment/sv.js in momentjs-rails-2.15.1
- old
+ new
@@ -1,13 +1,13 @@
//! moment.js locale configuration
-//! locale : swedish (sv)
+//! locale : Swedish [sv]
//! author : Jens Alm : https://github.com/ulmus
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
- typeof define === 'function' && define.amd ? define(['moment'], factory) :
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, function (moment) { 'use strict';
var sv = moment.defineLocale('sv', {
@@ -19,11 +19,13 @@
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'YYYY-MM-DD',
LL : 'D MMMM YYYY',
- LLL : 'D MMMM YYYY HH:mm',
- LLLL : 'dddd D MMMM YYYY HH:mm'
+ LLL : 'D MMMM YYYY [kl.] HH:mm',
+ LLLL : 'dddd D MMMM YYYY [kl.] HH:mm',
+ lll : 'D MMM YYYY HH:mm',
+ llll : 'ddd D MMM YYYY HH:mm'
},
calendar : {
sameDay: '[Idag] LT',
nextDay: '[Imorgon] LT',
lastDay: '[Igår] LT',
\ No newline at end of file