had planned_downtimes_created API accept date with time for date_from/to params.
This commit is contained in:
parent
92763f40cd
commit
520a56f787
|
@ -3930,9 +3930,8 @@ function api_set_planned_downtimes_created ($id, $thrash1, $other, $thrash3) {
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
$date_from = strtotime($other['data'][1]);
|
||||
$date_to = strtotime($other['data'][2]);
|
||||
$date_from = strtotime(html_entity_decode($other['data'][1]));
|
||||
$date_to = strtotime(html_entity_decode($other['data'][2]));
|
||||
|
||||
$values = array();
|
||||
$values['name'] = $id;
|
||||
|
|
Loading…
Reference in New Issue