From b6caa515522703dea91a058e01f18be13edd8340 Mon Sep 17 00:00:00 2001 From: vdumas Date: Wed, 21 Feb 2024 08:46:25 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B07268=20-=20Method=20SetComputedDate=20fa?= =?UTF-8?q?ils=20on=20Date=20only=20attribute?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dbobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 63b8784c6..3924228e1 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -4730,7 +4730,7 @@ abstract class DBObject implements iDisplay } } $oDate->modify($sModifier); - $this->Set($sAttCode, $oDate->format('Y-m-d H:i:s')); + $this->Set($sAttCode, $oDate->getTimestamp()); } /**