diff --git a/core/class/history.class.php b/core/class/history.class.php index 0035469145..95e845d56f 100644 --- a/core/class/history.class.php +++ b/core/class/history.class.php @@ -985,7 +985,7 @@ public static function getHistoryFromCalcul($_strcalcul, $_dateStart = null, $_d if (count($matches[1]) != count($cmd_history)) { continue; } - $datetime = floatval(strtotime($datetime . ' UTC')); + $datetime = strtotime($datetime . ' UTC'); $calcul = template_replace($cmd_history, $_strcalcul); if ($_noCalcul) { $value[$datetime] = $calcul;