From 3d72bfc22b8a538da08a0f0919fb9799bdc975ec Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 29 Aug 2012 23:28:04 +0200 Subject: 24h supported for fullcalendar. --- views/default/event_calendar/full_calendar_view.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/views/default/event_calendar/full_calendar_view.php b/views/default/event_calendar/full_calendar_view.php index adbb8a359..6fc59fcc8 100644 --- a/views/default/event_calendar/full_calendar_view.php +++ b/views/default/event_calendar/full_calendar_view.php @@ -3,6 +3,8 @@ elgg_load_js('elgg.full_calendar'); elgg_load_js('lightbox'); elgg_load_css('lightbox'); +$timeformat = elgg_get_plugin_setting('timeformat', 'event_calendar') == 24 ? 'H(:mm)' : 'h(:mm)t'; + // TODO: is there an easy way to avoid embedding JS? ?>