]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
I should probably run the code style tests locally...
authorTim Fish <tim@timfishy.co.uk>
Sun, 5 Mar 2017 14:51:39 +0000 (15:51 +0100)
committerIskren Chernev <iskren.chernev@gmail.com>
Sat, 11 Mar 2017 23:17:45 +0000 (01:17 +0200)
src/locale/hy-am.js

index f93b847910dd723e50a965756ed9d7c11c3eced1..40c38fba23d9c4337ea3f9b9da56e9ae04b21533 100644 (file)
@@ -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()];