Refactor
This commit is contained in:
parent
3d52ddd8c1
commit
bb41af49b0
1 changed files with 1 additions and 1 deletions
|
@ -126,6 +126,7 @@ $(function() {
|
||||||
maxCount : text.form_prompt_maxCount,
|
maxCount : text.form_prompt_maxCount,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Calendar Text */
|
||||||
var options_weekday = {
|
var options_weekday = {
|
||||||
timeZone : Intl.DateTimeFormat().resolvedOptions().timeZone,
|
timeZone : Intl.DateTimeFormat().resolvedOptions().timeZone,
|
||||||
weekday : 'short'
|
weekday : 'short'
|
||||||
|
@ -139,7 +140,6 @@ $(function() {
|
||||||
month : 'short'
|
month : 'short'
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Calendar Text */
|
|
||||||
$.fn.calendar.settings.text = {
|
$.fn.calendar.settings.text = {
|
||||||
days : [
|
days : [
|
||||||
new Date(2018, 00, 00).toLocaleString(locale, options_weekday),
|
new Date(2018, 00, 00).toLocaleString(locale, options_weekday),
|
||||||
|
|
Loading…
Reference in a new issue