From 97e1d8bbbd51bf3dd56aa3611b1365247398e652 Mon Sep 17 00:00:00 2001 From: Tim Fish Date: Sun, 5 Mar 2017 15:51:39 +0100 Subject: [PATCH] I should probably run the code style tests locally... --- src/locale/hy-am.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()]; -- 2.47.2