Solved issue with date_from and dato_to missing time data

This commit is contained in:
Jose Gonzalez 2019-10-16 16:41:22 +02:00
parent 039d854441
commit 4a29057a1b
1 changed files with 2 additions and 3 deletions

View File

@ -6225,9 +6225,8 @@ function api_set_planned_downtimes_created($id, $thrash1, $other, $thrash3)
return;
}
$date_from = strtotime(html_entity_decode($other['data'][1]));
$date_to = strtotime(html_entity_decode($other['data'][2]));
$date_from = strtotime(html_entity_decode($other['data'][1].' '.$other['data'][11]));
$date_to = strtotime(html_entity_decode($other['data'][2].' '.$other['data'][12]));
$values = [];
$values['name'] = $id;
$values = [