vendor/assets/javascripts/moment/de.js in momentjs-rails-2.11.1 vs vendor/assets/javascripts/moment/de.js in momentjs-rails-2.15.1
- old
+ new
@@ -1,15 +1,15 @@
//! moment.js locale configuration
-//! locale : german (de)
+//! locale : German [de]
//! author : lluchs : https://github.com/lluchs
//! author: Menelion ElensĂșle: https://github.com/Oire
//! author : Mikolaj Dadela : https://github.com/mik01aj
;(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';
function processRelativeTime(number, withoutSuffix, key, isFuture) {
@@ -27,12 +27,14 @@
}
var de = moment.defineLocale('de', {
months : 'Januar_Februar_MĂ€rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
+ monthsParseExact : true,
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
+ weekdaysParseExact : true,
longDateFormat : {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L : 'DD.MM.YYYY',
LL : 'D. MMMM YYYY',
\ No newline at end of file