From 947aa91c48e906ce3c3a3083194fa8a41e913002 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 4 Jul 2022 10:47:04 +0200 Subject: [PATCH] DbQuery: Don't call `timestampForSql()` in `valueToTimestamp()` We can't call it implicitly, not all filter columns support date time strings, especially in postgresql.. --- library/Icinga/Data/Db/DbQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Data/Db/DbQuery.php b/library/Icinga/Data/Db/DbQuery.php index 9a36c6bef..30816a749 100644 --- a/library/Icinga/Data/Db/DbQuery.php +++ b/library/Icinga/Data/Db/DbQuery.php @@ -234,7 +234,7 @@ class DbQuery extends SimpleQuery $value = (int) $value; } - return $this->timestampForSql($value); + return $value; } /**