aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/event_calendar/event_calendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/event_calendar/event_calendar.php')
-rw-r--r--views/default/js/event_calendar/event_calendar.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/default/js/event_calendar/event_calendar.php b/views/default/js/event_calendar/event_calendar.php
index f9e3d63c2..efa1dc1dd 100644
--- a/views/default/js/event_calendar/event_calendar.php
+++ b/views/default/js/event_calendar/event_calendar.php
@@ -23,6 +23,7 @@ elgg.event_calendar.init = function () {
all_day_field.change(elgg.event_calendar.handleAllDayField);
$('.elgg-input-date[name="start_date"], .elgg-input-date[name="end_date"]').datepicker({
+ dateFormat: 'yy-mm-dd',
numberOfMonths: 3,
onSelect: elgg.event_calendar.handleDateRangeSelect,
});