From fd07413a72bb4a1fc8609dd0194e7d718ed98b18 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 30 Aug 2012 10:06:49 +0200 Subject: Fixed range datepicker. --- views/default/js/event_calendar/event_calendar.php | 1 + 1 file changed, 1 insertion(+) (limited to 'views/default/js/event_calendar') 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, }); -- cgit v1.2.3