From: Tim Fish Date: Sun, 5 Mar 2017 22:32:40 +0000 (+0100) Subject: code style X-Git-Tag: 2.18.0~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76bf51e80c1cdc6e11c4e5291f7f0c1628339ca8;p=thirdparty%2Fmoment.git code style --- diff --git a/src/locale/el.js b/src/locale/el.js index ab3997f81..dee3d2560 100644 --- a/src/locale/el.js +++ b/src/locale/el.js @@ -10,7 +10,7 @@ export default moment.defineLocale('el', { monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'), months : function (momentToFormat, format) { if (!momentToFormat) { - return this._monthsNominativeEl + return this._monthsNominativeEl; } else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' return this._monthsGenitiveEl[momentToFormat.month()]; } else {