From: Tim Fish Date: Sun, 5 Mar 2017 14:51:39 +0000 (+0100) Subject: I should probably run the code style tests locally... X-Git-Tag: 2.18.0~18^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97e1d8bbbd51bf3dd56aa3611b1365247398e652;p=thirdparty%2Fmoment.git I should probably run the code style tests locally... --- diff --git a/src/locale/hy-am.js b/src/locale/hy-am.js index f93b84791..40c38fba2 100644 --- a/src/locale/hy-am.js +++ b/src/locale/hy-am.js @@ -8,8 +8,8 @@ var monthsFormat = 'հունվարի_փետրվարի_մարտի_ապրիլի_մ monthsStandalone = 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_'); export default moment.defineLocale('hy-am', { - months : function (m, format) { - if (!m) { + months : function (m, format) { + if (!m) { return monthsStandalone; } else if (/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/.test(format)) { return monthsFormat[m.month()];