mod/event_calendar/models/model.php 1 location
|
@@ 119-123 (lines=5) @@
|
116 |
|
} else { |
117 |
|
$e->end_time = ''; |
118 |
|
} |
119 |
|
if (is_numeric($e->start_date) && is_numeric($e->start_time)) { |
120 |
|
// Set start date to the Unix start time, if set. |
121 |
|
// This allows sorting by date *and* time. |
122 |
|
$e->start_date += $e->start_time*60; |
123 |
|
} |
124 |
|
} else { |
125 |
|
$e->start_time = 0; |
126 |
|
$e->end_time = ''; |
mod/gc_mobile_api/models/event.php 1 location
|
@@ 505-509 (lines=5) @@
|
502 |
|
$end_time_exp = explode(':',$endtime); |
503 |
|
$end_time =60*$end_time_exp[0]+$end_time_exp[1]; |
504 |
|
$e->end_time = $end_time; |
505 |
|
if (is_numeric($e->start_date) && is_numeric($e->start_time)) { |
506 |
|
// Set start date to the Unix start time, if set. |
507 |
|
// This allows sorting by date *and* time. |
508 |
|
$e->start_date += $e->start_time*60; |
509 |
|
} |
510 |
|
} else { |
511 |
|
$e->start_time = ''; |
512 |
|
$e->end_time = ''; |