From fcc4ed396a5e37c2563a4dec96cd2f9cd0b7d9a7 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 28 Jul 2022 15:03:14 +0300 Subject: [PATCH] Change $conditions to TYPE_DATETIME --- src/Appwrite/Utopia/Response/Model/AttributeDatetime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Utopia/Response/Model/AttributeDatetime.php b/src/Appwrite/Utopia/Response/Model/AttributeDatetime.php index abac929889..b0aac3c686 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeDatetime.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeDatetime.php @@ -43,7 +43,7 @@ class AttributeDatetime extends Attribute } public array $conditions = [ - 'type' => self::TYPE_STRING, + 'type' => self::TYPE_DATETIME, 'format' => \APP_DATABASE_ATTRIBUTE_DATETIME ];