// moment.js language configuration
-// language : Serbian-cyrillic (sr-cyr)
+// language : Serbian-cyrillic (sr-cyrl)
// author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
(function (factory) {
}
};
- return moment.lang('sr-cyr', {
+ return moment.lang('sr-cyrl', {
months: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'],
monthsShort: ['јан.', 'феб.', 'мар.', 'апр.', 'мај', 'јун', 'јул', 'авг.', 'сеп.', 'окт.', 'нов.', 'дец.'],
weekdays: ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'],
// moment.js language configuration
-// language : Morocco Central Atlas Tamaziɣt in Latin (tzm-la)
+// language : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn)
// author : Abdel Said : https://github.com/abdelsaid
(function (factory) {
factory(window.moment); // Browser global
}
}(function (moment) {
- return moment.lang('tzm-la', {
+ return moment.lang('tzm-latn', {
months : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
monthsShort : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
weekdays : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
Serbian-cyrillic (sr-cyr)
*************************************************/
-exports["lang:sr-cyr"] = {
+exports["lang:sr-cyrl"] = {
setUp : function (cb) {
- moment.lang('sr-cyr');
+ moment.lang('sr-cyrl');
moment.createFromInputFallback = function () {
throw new Error("input not handled by moment");
};
"returns the name of the language" : function (test) {
if (typeof module !== 'undefined' && module.exports) {
- test.equal(require('../../lang/sr-cyr'), 'sr-cyr', "module should export sr-cyr");
+ test.equal(require('../../lang/sr-cyrl'), 'sr-cyrl', "module should export sr-cyrl");
}
test.done();
var moment = require("../../moment");
-exports["lang:tzm-la"] = {
+exports["lang:tzm-latn"] = {
setUp : function (cb) {
- moment.lang('tzm-la');
+ moment.lang('tzm-latn');
moment.createFromInputFallback = function () {
throw new Error("input not handled by moment");
};
"returns the name of the language" : function (test) {
if (typeof module !== 'undefined' && module.exports) {
- test.equal(require('../../lang/tzm-la'), 'tzm-la', "module should export tzm-la");
+ test.equal(require('../../lang/tzm-latn'), 'tzm-latn', "module should export tzm-latn");
}
test.done();