diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 1f39148b2b1..e6468cdcfb4 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -12,9 +12,10 @@ var oc_appswebroots = ; var oc_requesttoken = ''; var oc_requestlifespan = ''; + var datepickerFormatDate = l('jsdate', 'jsdate')) ?>; var dayNames = t('Sunday'), (string)$l->t('Monday'), (string)$l->t('Tuesday'), (string)$l->t('Wednesday'), (string)$l->t('Thursday'), (string)$l->t('Friday'), (string)$l->t('Saturday'))) ?>; var monthNames = t('January'), (string)$l->t('February'), (string)$l->t('March'), (string)$l->t('April'), (string)$l->t('May'), (string)$l->t('June'), (string)$l->t('July'), (string)$l->t('August'), (string)$l->t('September'), (string)$l->t('October'), (string)$l->t('November'), (string)$l->t('December'))) ?>; - var firstDay = l('firstday')) ?>; + var firstDay = l('firstday', 'firstday')) ?>; diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 1f16fdf7c6c..d876fbc98e8 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -13,10 +13,10 @@ var oc_current_user = ''; var oc_requesttoken = ''; var oc_requestlifespan = ''; - var datepickerFormatDate = l('jsdate')) ?>; + var datepickerFormatDate = l('jsdate', 'jsdate')) ?>; var dayNames = t('Sunday'), (string)$l->t('Monday'), (string)$l->t('Tuesday'), (string)$l->t('Wednesday'), (string)$l->t('Thursday'), (string)$l->t('Friday'), (string)$l->t('Saturday'))) ?>; var monthNames = t('January'), (string)$l->t('February'), (string)$l->t('March'), (string)$l->t('April'), (string)$l->t('May'), (string)$l->t('June'), (string)$l->t('July'), (string)$l->t('August'), (string)$l->t('September'), (string)$l->t('October'), (string)$l->t('November'), (string)$l->t('December'))) ?>; - var firstDay = l('firstday')) ?>; + var firstDay = l('firstday', 'firstday')) ?>;