Skip to content

Commit

Permalink
jshint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
armendarabyan committed Jan 4, 2014
1 parent c0f5d8f commit eaf05e0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lang/hy-am.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// moment.js language configuration
// language : armenian (hy-am)
// language : Armenian (hy-am)
// author : Armendarabyan : https://github.com/armendarabyan

(function (factory) {
Expand Down Expand Up @@ -78,7 +78,7 @@
yy : "%d տարի"
},

meridiem : function (hour, minute, isLower) {
meridiem : function (hour) {
if (hour < 4) {
return "գիշերվա";
} else if (hour < 12) {
Expand All @@ -96,7 +96,9 @@
case 'w':
case 'W':
case 'DDDo':
if (number === 1) return number + '-ին';
if (number === 1) {
return number + '-ին';
}
return number + '-րդ';
default:
return number;
Expand Down

0 comments on commit eaf05e0

Please sign in to comment.