aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2011-10-24 12:08:24 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2011-10-24 12:08:24 +0200
commitdb951f94b6ae60f899f719f17dce4aa6c47edf54 (patch)
tree6631b3bac1f3ecb3c93238fb94269a90ea2adf8f /views/default/forms
parent1ca017f9f9f8b44fbdcb08105a52e059df6bb504 (diff)
downloadelgg-db951f94b6ae60f899f719f17dce4aa6c47edf54.tar.gz
elgg-db951f94b6ae60f899f719f17dce4aa6c47edf54.tar.bz2
now uses a date_local view to consistently display events in local server time
Diffstat (limited to 'views/default/forms')
-rw-r--r--views/default/forms/event_calendar/edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/forms/event_calendar/edit.php b/views/default/forms/event_calendar/edit.php
index 25062e2df..214a51f4e 100644
--- a/views/default/forms/event_calendar/edit.php
+++ b/views/default/forms/event_calendar/edit.php
@@ -118,7 +118,7 @@ if ($event_calendar_times == 'yes') {
}
$body .= '<p><label>'.elgg_echo("event_calendar:start_date_label").'<br />';
-$body .= elgg_view("input/date",array('timestamp'=>TRUE, 'autocomplete'=>'off','name' => 'start_date','value'=>$start_date));
+$body .= elgg_view("event_calendar/input/date_local",array('timestamp'=>TRUE, 'autocomplete'=>'off','name' => 'start_date','value'=>$start_date));
$body .= '</label></p>';
$body .= '<p class="description">'.$prefix['start_date'].elgg_echo('event_calendar:start_date_description').'</p>';
@@ -131,7 +131,7 @@ if ($event_calendar_hide_end != 'yes') {
}
$body .= '<p><label>'.elgg_echo("event_calendar:end_date_label").'<br />';
- $body .= elgg_view("input/date",array('timestamp'=>TRUE,'autocomplete'=>'off','name' => 'end_date','value'=>$end_date));
+ $body .= elgg_view("event_calendar/input/date_local",array('timestamp'=>TRUE,'autocomplete'=>'off','name' => 'end_date','value'=>$end_date));
$body .= '</label></p>';
$body .= '<p class="description">'.$prefix['end_date'].elgg_echo('event_calendar:end_date_description').'</p>';
}