test.equal(moment([2012, 0, 13]).format('w ww wo'), '2 02 2', "Jan 13 2012 should be week 2");
test.equal(moment([2012, 0, 14]).format('w ww wo'), '3 03 3', "Jan 14 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ar-ma'), 'ar-ma', "module should export ar-ma");
+
test.done();
}
};
test.equal(moment([2012, 0, 13]).format('w ww wo'), '2 02 2', "Jan 13 2012 should be week 2");
test.equal(moment([2012, 0, 14]).format('w ww wo'), '3 03 3', "Jan 14 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ar'), 'ar', "module should export ar");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2-ри', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3-ти', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/bg'), 'bg', "module should export bg");
+
test.done();
}
};
test.equal(start.from(moment([2007, 1, 28]).add({y: 133}), true), "133 bloaz", "mutation 133 years");
test.equal(start.from(moment([2007, 1, 28]).add({y: 148}), true), "148 vloaz", "mutation 148 years");
test.equal(start.from(moment([2007, 1, 28]).add({y: 261}), true), "261 bloaz", "mutation 261 years");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/br'), 'br', "module should export br");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2º', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2º', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ca'), 'ca', "module should export ca");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/cs'), 'cs', "module should export cs");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2-мĕш', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3-мĕш', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/cv'), 'cv', "module should export cv");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/da'), 'da', "module should export da");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/de'), 'de', "module should export de");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2η', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2η', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/el'), 'el', "module should export el");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2nd', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3rd', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/en-ca'), 'en-ca', "module should export en-ca");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2nd', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2nd', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/en-gb'), 'en-gb', "module should export en-gb");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2a', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3a', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/eo'), 'eo', "module should export eo");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2º', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2º', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/es'), 'es', "module should export es");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/et'), 'et', "module should export et");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2.', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3.', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/eu'), 'eu', "module should export eu");
+
test.done();
}
};
test.equal(moment([2012, 0, 13]).format('w ww wo'), '۲ ۰۲ ۲م', "Jan 13 2012 should be week 2");
test.equal(moment([2012, 0, 14]).format('w ww wo'), '۳ ۰۳ ۳م', "Jan 14 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/fa'), 'fa', "module should export fa");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/fi'), 'fi', "module should export fi");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/fr-ca'), 'fr-ca', "module should export fr-ca");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/fr'), 'fr', "module should export fr");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2º', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3º', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/gl'), 'gl', "module should export gl");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/he'), 'he', "module should export he");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '२ ०२ २', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '३ ०३ ३', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/hi'), 'hi', "module should export hi");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2.', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3.', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/hr'), 'hr', "module should export hr");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2.', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3.', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/hu'), 'hu', "module should export hu");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/id'), 'id', "module should export id");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/is'), 'is', "module should export is");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2º', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2º', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/it'), 'it', "module should export it");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ja'), 'ja', "module should export ja");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 მე-2', "იან 8 2012 უნდა იყოს კვირა 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 მე-3', "იან 9 2012 უნდა იყოს კვირა 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ka'), 'ka', "module should export ka");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2일', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3일', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ko'), 'ko', "module should export ko");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2-oji', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2-oji', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/lt'), 'lt', "module should export lt");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/lv'), 'lv', "module should export lv");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ml'), 'ml', "module should export ml");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '२ ०२ २', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '३ ०३ ३', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/mr'), 'mr', "module should export mr");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '3 03 3', "Jan 14 2012 sepatutnya minggu 3");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', "Jan 15 2012 sepatutnya minggu 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ms-my'), 'ms-my', "module should export ms-my");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/nb'), 'nb', "module should export nb");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '२ ०२ २', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '३ ०३ ३', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ne'), 'ne', "module should export ne");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2de', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2de', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/nl'), 'nl', "module should export nl");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/nn'), 'nn', "module should export nn");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/pl'), 'pl', "module should export pl");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2º', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3º', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/pt-br'), 'pt-br', "module should export pt-br");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2º', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2º', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/pt'), 'pt', "module should export pt");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ro'), 'ro', "module should export ro");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2-я', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3-я', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/ru'), 'ru', "module should export ru");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/sk'), 'sk', "module should export sk");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2.', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3.', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/sl'), 'sl', "module should export sl");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/sq'), 'sq', "module should export sq");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2a', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2a', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/sv'), 'sv', "module should export sv");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2', "Jan 14 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', "Jan 15 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/th'), 'th', "module should export th");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), "2 02 2'nci", "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), "3 03 3'üncü", "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/tr'), 'tr', "module should export tr");
+
test.done();
}
};
test.equal(moment([2012, 0, 13]).format('w ww wo'), '2 02 2', "Jan 13 2012 should be week 2");
test.equal(moment([2012, 0, 14]).format('w ww wo'), '3 03 3', "Jan 14 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/tzm-la'), 'tzm-la', "module should export tzm-la");
+
test.done();
}
};
test.equal(moment([2012, 0, 13]).format('w ww wo'), '2 02 2', "Jan 13 2012 should be week 2");
test.equal(moment([2012, 0, 14]).format('w ww wo'), '3 03 3', "Jan 14 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/tzm'), 'tzm', "module should export tzm");
+
test.done();
}
};
test.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2-й', "Jan 8 2012 should be week 2");
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3-й', "Jan 9 2012 should be week 3");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/uk'), 'uk', "module should export uk");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/uz'), 'uz', "module should export uz");
+
test.done();
}
};
test.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2', "Jan 9 2012 should be week 2");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2', "Jan 15 2012 should be week 2");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/vn'), 'vn', "module should export vn");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2周', "Jan 14 2012 应该是第 2周");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3周', "Jan 15 2012 应该是第 3周");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/zh-cn'), 'zh-cn', "module should export zh-cn");
+
test.done();
}
};
test.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2週', "Jan 14 2012 應該是第 2週");
test.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3週', "Jan 15 2012 應該是第 3週");
+ test.done();
+ },
+
+ "returns the name of the language" : function (test) {
+ test.expect(1);
+
+ test.equal(require('../../lang/zh-tw'), 'zh-tw', "module should export zh-tw");
+
test.done();
}
};