summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorscambra <sergio@entrecables.com>2012-09-21 08:33:26 +0200
committerscambra <sergio@entrecables.com>2012-10-19 13:56:19 +0200
commit41b597e179a694973c709613cdf41e2b379c8df9 (patch)
tree8a7b56ff789036722bf154d15cf9a68e5528aa2c /core/templates/layout.user.php
parenta24d8db4b25e99f92ebb2cb65a97672f39a2f85f (diff)
downloadnextcloud-server-41b597e179a694973c709613cdf41e2b379c8df9.tar.gz
nextcloud-server-41b597e179a694973c709613cdf41e2b379c8df9.zip
Translate formatDate using jquery datepicker
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 92d47cc51f8..1f16fdf7c6c 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -13,6 +13,7 @@
var oc_current_user = '<?php echo OC_User::getUser() ?>';
var oc_requesttoken = '<?php echo $_['requesttoken']; ?>';
var oc_requestlifespan = '<?php echo $_['requestlifespan']; ?>';
+ var datepickerFormatDate = <?php echo json_encode($l->l('jsdate')) ?>;
var dayNames = <?php echo json_encode(array((string)$l->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 = <?php echo json_encode(array((string)$l->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 = <?php echo json_encode($l->l('firstday')) ?>;