mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
had planned_downtimes_created API accept date with time for date_from/to params.
This commit is contained in:
parent
2fee69320e
commit
2c1fd62374
@ -3936,9 +3936,8 @@ function api_set_planned_downtimes_created ($id, $thrash1, $other, $thrash3) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$date_from = strtotime(html_entity_decode($other['data'][1]));
|
||||||
$date_from = strtotime($other['data'][1]);
|
$date_to = strtotime(html_entity_decode($other['data'][2]));
|
||||||
$date_to = strtotime($other['data'][2]);
|
|
||||||
|
|
||||||
$values = array();
|
$values = array();
|
||||||
$values['name'] = $id;
|
$values['name'] = $id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user