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
|
@@ 597-601 (lines=5) @@
|
| 594 |
|
// TODO: is the timezone bit necessary? |
| 595 |
|
$e->start_date = strtotime($start_date_text." ".date_default_timezone_get()); |
| 596 |
|
$end_date_text = $enddate; |
| 597 |
|
if ($end_date_text) { |
| 598 |
|
$e->end_date = strtotime($end_date_text." ".date_default_timezone_get()); |
| 599 |
|
} else { |
| 600 |
|
$e->end_date = ''; |
| 601 |
|
} |
| 602 |
|
|
| 603 |
|
if ($e->schedule_type != 'all_day') { |
| 604 |
|
$start_time_exp = explode(':',$starttime); |