aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-30 10:06:49 +0200
committerSem <sembrestels@riseup.net>2012-08-30 10:06:49 +0200
commitfd07413a72bb4a1fc8609dd0194e7d718ed98b18 (patch)
tree0132fa88e23a955796210f9a0f5e08dc5f10689e /views
parent07e78b106e33c09dd46e874aca04c739e0140851 (diff)
downloadelgg-fd07413a72bb4a1fc8609dd0194e7d718ed98b18.tar.gz
elgg-fd07413a72bb4a1fc8609dd0194e7d718ed98b18.tar.bz2
Fixed range datepicker.
Diffstat (limited to 'views')
-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,
});