Fix calendar not working
This commit is contained in:
parent
c046db4b52
commit
9d594541f7
1 changed files with 42 additions and 44 deletions
|
@ -145,8 +145,7 @@ $(function() {
|
|||
month : 'short'
|
||||
};
|
||||
|
||||
$.fn.calendar.settings.text = {
|
||||
days : [
|
||||
$.fn.calendar.settings.text.days = [
|
||||
new Date(2018, 00, 00).toLocaleString(locale, options_weekday),
|
||||
new Date(2018, 00, 01).toLocaleString(locale, options_weekday),
|
||||
new Date(2018, 00, 02).toLocaleString(locale, options_weekday),
|
||||
|
@ -154,8 +153,8 @@ $(function() {
|
|||
new Date(2018, 00, 04).toLocaleString(locale, options_weekday),
|
||||
new Date(2018, 00, 05).toLocaleString(locale, options_weekday),
|
||||
new Date(2018, 00, 06).toLocaleString(locale, options_weekday),
|
||||
],
|
||||
months : [
|
||||
];
|
||||
$.fn.calendar.settings.text.months = [
|
||||
new Date(0000, 01, 00).toLocaleString(locale, options_months),
|
||||
new Date(0000, 02, 00).toLocaleString(locale, options_months),
|
||||
new Date(0000, 03, 00).toLocaleString(locale, options_months),
|
||||
|
@ -168,8 +167,8 @@ $(function() {
|
|||
new Date(0000, 10, 00).toLocaleString(locale, options_months),
|
||||
new Date(0000, 11, 00).toLocaleString(locale, options_months),
|
||||
new Date(0000, 12, 00).toLocaleString(locale, options_months),
|
||||
],
|
||||
monthsShort : [
|
||||
];
|
||||
$.fn.calendar.settings.text.monthsShort = [
|
||||
new Date(0000, 01, 00).toLocaleString(locale, options_months_short),
|
||||
new Date(0000, 02, 00).toLocaleString(locale, options_months_short),
|
||||
new Date(0000, 03, 00).toLocaleString(locale, options_months_short),
|
||||
|
@ -182,13 +181,12 @@ $(function() {
|
|||
new Date(0000, 10, 00).toLocaleString(locale, options_months_short),
|
||||
new Date(0000, 11, 00).toLocaleString(locale, options_months_short),
|
||||
new Date(0000, 12, 00).toLocaleString(locale, options_months_short),
|
||||
],
|
||||
today : text.calendar_today,
|
||||
now : text.calendar_now,
|
||||
am : text.calendar_am,
|
||||
pm : text.calendar_pm,
|
||||
weekNo : text.calendar_week_no,
|
||||
};
|
||||
];
|
||||
$.fn.calendar.settings.text.today = text.calendar_today;
|
||||
$.fn.calendar.settings.text.now = text.calendar_now;
|
||||
$.fn.calendar.settings.text.am = text.calendar_am;
|
||||
$.fn.calendar.settings.text.pm = text.calendar_pm;
|
||||
$.fn.calendar.settings.text.weekNo = text.calendar_week_no;
|
||||
|
||||
/** Dimmer */
|
||||
$.fn.dimmer.settings.closable = false;
|
||||
|
|
Loading…
Reference in a new issue