weekdays : "E Diel_E Hënë_E Marte_E Mërkure_E Enjte_E Premte_E Shtunë".split("_"),
weekdaysShort : "Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),
weekdaysMin : "D_H_Ma_Më_E_P_Sh".split("_"),
+ meridiem : function (hours, minutes, isLower) {
+ return hours < 12 ? 'PD' : 'MD';
+ },
longDateFormat : {
LT : "HH:mm",
L : "DD/MM/YYYY",
['H HH', '15 15'],
['m mm', '25 25'],
['s ss', '50 50'],
- ['a A', 'pm PM'],
+ ['a A', 'MD MD'],
['[the] DDDo [day of the year]', 'the 45. day of the year'],
['L', '14/02/2010'],
['LL', '14 Shkurt 2010'],
test.done();
},
+ "meridiem" : function (test) {
+ test.expect(2);
+
+ test.equal(moment([2011, 2, 23, 0, 0]).format('A'), "PD", "before dawn");
+ test.equal(moment([2011, 2, 23, 12, 0]).format('A'), "MD", "noon");
+
+ test.done();
+ },
+
"format ordinal" : function (test) {
test.expect(31);
test.done();
},
-
+
"returns the name of the language" : function (test) {
if (typeof module !== 'undefined' && module.exports) {
test.equal(require('../../lang/sq'), 'sq', "module should export sq");
}
-
+
test.done();
}
};