mod/event_calendar/models/model.php 1 location
|
@@ 96-100 (lines=5) @@
|
93 |
|
// TODO: is the timezone bit necessary? |
94 |
|
$e->start_date = strtotime($start_date_text." ".date_default_timezone_get()); |
95 |
|
$end_date_text = trim(get_input('end_date', "")); |
96 |
|
if ($end_date_text) { |
97 |
|
$e->end_date = strtotime($end_date_text." ".date_default_timezone_get()); |
98 |
|
} else { |
99 |
|
$e->end_date = ''; |
100 |
|
} |
101 |
|
|
102 |
|
if ($e->schedule_type != 'all_day' && $event_calendar_times != 'no') { |
103 |
|
$hour = get_input('start_time_hour', ''); |
mod/gc_mobile_api/models/event.php 1 location
|
@@ 491-495 (lines=5) @@
|
488 |
|
// TODO: is the timezone bit necessary? |
489 |
|
$e->start_date = strtotime($start_date_text." ".date_default_timezone_get()); |
490 |
|
$end_date_text = $enddate; |
491 |
|
if ($end_date_text) { |
492 |
|
$e->end_date = strtotime($end_date_text." ".date_default_timezone_get()); |
493 |
|
} else { |
494 |
|
$e->end_date = ''; |
495 |
|
} |
496 |
|
|
497 |
|
if ($e->schedule_type != 'all_day') { |
498 |
|
$start_time_exp = explode(':',$starttime); |