diff --git a/library/Businessprocess/State/IcingaDbState.php b/library/Businessprocess/State/IcingaDbState.php index 68ac45d..0eb0927 100644 --- a/library/Businessprocess/State/IcingaDbState.php +++ b/library/Businessprocess/State/IcingaDbState.php @@ -122,7 +122,7 @@ class IcingaDbState } if ($row->state->last_state_change !== null) { - $node->setLastStateChange($row->state->last_state_change/1000); + $node->setLastStateChange($row->state->last_state_change->getTimestamp()); } if ($row->state->in_downtime) { $node->setDowntime(true);