End date is wrongly decoded
-
The event end date is decoded wrongly.
Solution:
ESS_Import.php, line 919:
$_POST['event_end_date'] = date( 'Y-m-d', strtotime( $date_start . ( ( $dur > 0 )? " + " . $dur ." seconds" : "" ) ) );
replace with$_POST['event_end_date'] = date( 'Y-m-d', strtotime( $date_start . ( ( $dur > 0 )? " + " . $dur . " " . $date_[ 'unit' ] : "" ) ) );
For time calculations the same should be done with line 923.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘End date is wrongly decoded’ is closed to new replies.