Skip to content

Commit

Permalink
Date Format Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoweMOJ committed Oct 16, 2019
1 parent 34492ab commit 2fcb7a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<?php
if ( empty( $all_day ) ) {
if ( isset( $start_time ) || isset( $end_time ) ) {
$time = $start_time . ' - ' . $end_time;
$time = substr($start_time, 0 ,5) . ' - ' . substr($end_time, 0 , 5);
} else {
$time = '';
}
Expand Down

0 comments on commit 2fcb7a7

Please sign in to comment.