Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as moment from 'moment';
import * as FullCalendar from 'fullcalendar';
moment.locale('en');
FullCalendar.locale('en');
if (window.jQuery && window.jQuery.datepicker) {
window.jQuery.datepicker.setDefaults(window.jQuery.datepicker.regional['']);
}
monthNames: [ "Januari","Februari","Mac","April","Mei","Jun",
"Julai","Ogos","September","Oktober","November","Disember" ],
monthNamesShort: [ "Jan","Feb","Mac","Apr","Mei","Jun",
"Jul","Ogo","Sep","Okt","Nov","Dis" ],
dayNames: [ "Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu" ],
dayNamesShort: [ "Aha","Isn","Sel","Rab","kha","Jum","Sab" ],
dayNamesMin: [ "Ah","Is","Se","Ra","Kh","Ju","Sa" ],
weekHeader: "Mg",
dateFormat: "dd/mm/yy",
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" });
FullCalendar.locale("ms-my", {
buttonText: {
month: "Bulan",
week: "Minggu",
day: "Hari",
list: "Agenda"
},
allDayText: "Sepanjang hari",
eventLimitText: function(n) {
return "masih ada " + n + " acara";
},
noEventsMessage: "Tiada peristiwa untuk dipaparkan"
});
import 'moment/locale/en-ca';
import * as FullCalendar from 'fullcalendar';
FullCalendar.locale("en-ca");
import 'moment/locale/en-ie';
import * as FullCalendar from 'fullcalendar';
FullCalendar.locale("en-ie");
monthNames: [ "enero","febrero","marzo","abril","mayo","junio",
"julio","agosto","septiembre","octubre","noviembre","diciembre" ],
monthNamesShort: [ "ene","feb","mar","abr","may","jun",
"jul","ago","sep","oct","nov","dic" ],
dayNames: [ "domingo","lunes","martes","miércoles","jueves","viernes","sábado" ],
dayNamesShort: [ "dom","lun","mar","mié","jue","vie","sáb" ],
dayNamesMin: [ "D","L","M","X","J","V","S" ],
weekHeader: "Sm",
dateFormat: "dd/mm/yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" });
FullCalendar.locale("es-do", {
buttonText: {
month: "Mes",
week: "Semana",
day: "Día",
list: "Agenda"
},
allDayHtml: "Todo<br>el día",
eventLimitText: "más",
noEventsMessage: "No hay eventos para mostrar"
});
monthNames: [ "Januar","Februar","März","April","Mai","Juni",
"Juli","August","September","Oktober","November","Dezember" ],
monthNamesShort: [ "Jan","Feb","Mär","Apr","Mai","Jun",
"Jul","Aug","Sep","Okt","Nov","Dez" ],
dayNames: [ "Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag" ],
dayNamesShort: [ "So","Mo","Di","Mi","Do","Fr","Sa" ],
dayNamesMin: [ "So","Mo","Di","Mi","Do","Fr","Sa" ],
weekHeader: "KW",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" });
FullCalendar.locale("de-at", {
buttonText: {
month: "Monat",
week: "Woche",
day: "Tag",
list: "Terminübersicht"
},
allDayText: "Ganztägig",
eventLimitText: function(n) {
return "+ weitere " + n;
},
noEventsMessage: "Keine Ereignisse anzuzeigen"
});
monthNames: [ "januari", "februari", "maart", "april", "mei", "juni",
"juli", "augustus", "september", "oktober", "november", "december" ],
monthNamesShort: [ "jan", "feb", "mrt", "apr", "mei", "jun",
"jul", "aug", "sep", "okt", "nov", "dec" ],
dayNames: [ "zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag" ],
dayNamesShort: [ "zon", "maa", "din", "woe", "don", "vri", "zat" ],
dayNamesMin: [ "zo", "ma", "di", "wo", "do", "vr", "za" ],
weekHeader: "Wk",
dateFormat: "dd/mm/yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" });
FullCalendar.locale("nl-be", {
buttonText: {
month: "Maand",
week: "Week",
day: "Dag",
list: "Agenda"
},
allDayText: "Hele dag",
eventLimitText: "extra",
noEventsMessage: "Geen evenementen om te laten zien"
});
monthNames: [ "Januar","Februar","März","April","Mai","Juni",
"Juli","August","September","Oktober","November","Dezember" ],
monthNamesShort: [ "Jan","Feb","Mär","Apr","Mai","Jun",
"Jul","Aug","Sep","Okt","Nov","Dez" ],
dayNames: [ "Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag" ],
dayNamesShort: [ "So","Mo","Di","Mi","Do","Fr","Sa" ],
dayNamesMin: [ "So","Mo","Di","Mi","Do","Fr","Sa" ],
weekHeader: "KW",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" });
FullCalendar.locale("de-ch", {
buttonText: {
month: "Monat",
week: "Woche",
day: "Tag",
list: "Terminübersicht"
},
allDayText: "Ganztägig",
eventLimitText: function(n) {
return "+ weitere " + n;
},
noEventsMessage: "Keine Ereignisse anzuzeigen"
});
nextText: "След>",
currentText: "Сёння",
monthNames: ["Студзень", "Люты", "Сакавік", "Красавік", "Трав", "Чэрвень", "Ліпень", "Жнівень", "Верасень", "Кастрычнік", "Лістапад", "Снежань"],
monthNamesShort: ["Студ", "Лют", "Сак", "Крас", "Трав", "Чэрв", "Ліп", "Жнів", "Вер", "Каст", "Ліст", "Снеж"],
dayNames: ["нядзеля", "панядзелак", "аўторак", "серада", "чацвер", "пятніца", "субота"],
dayNamesShort: ["ндз", "пнд", "аўт", "срд", "чцв", "птн", "сбт"],
dayNamesMin: ["Нд","Пн","Ат","Ср","Чц","Пт","Сб"],
weekHeader: "Ндз",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" });
FullCalendar.locale("be", {
buttonText: {
month: "Месяц",
week: "Тыдзень",
day: "Дзень",
list: "Парадак дня"
},
allDayHtml: "Увесь<br>дзень",
eventLimitText: function(n) {
return "+ яшчэ " + n;
},
noEventsMessage: "Няма падзей для адлюстравання"
});