mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Solved issue with date_from and dato_to missing time data
This commit is contained in:
parent
039d854441
commit
4a29057a1b
@ -6225,9 +6225,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(html_entity_decode($other['data'][1].' '.$other['data'][11]));
|
||||||
$date_to = strtotime(html_entity_decode($other['data'][2]));
|
$date_to = strtotime(html_entity_decode($other['data'][2].' '.$other['data'][12]));
|
||||||
|
|
||||||
$values = [];
|
$values = [];
|
||||||
$values['name'] = $id;
|
$values['name'] = $id;
|
||||||
$values = [
|
$values = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user