From c08f2e65e6e0fa201d8584483caa814ef5212f83 Mon Sep 17 00:00:00 2001 From: Akshay Rana Date: Tue, 18 Oct 2022 22:22:01 +0530 Subject: [PATCH] Updated timestamp format Co-authored-by: Steven <1477010+stnguyen90@users.noreply.github.com> --- src/Appwrite/Messaging/Adapter/Realtime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Messaging/Adapter/Realtime.php b/src/Appwrite/Messaging/Adapter/Realtime.php index c595c394e4..91b2e5e267 100644 --- a/src/Appwrite/Messaging/Adapter/Realtime.php +++ b/src/Appwrite/Messaging/Adapter/Realtime.php @@ -149,7 +149,7 @@ class Realtime extends Adapter 'data' => [ 'events' => $events, 'channels' => $channels, - 'timestamp' => date('c'), + 'timestamp' => DateTime::formatTz(DateTime::now()), 'payload' => $payload ] ]));