From 65954a4cacba62bfde33bf9a676cea3dbb1bc6f3 Mon Sep 17 00:00:00 2001 From: Hamdan harish Date: Tue, 28 Jul 2026 19:25:29 +0530 Subject: [PATCH] fix: group last message timestamp to local time --- mobile/lib/models/group.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/models/group.dart b/mobile/lib/models/group.dart index e91e8aa..3b40d8c 100644 --- a/mobile/lib/models/group.dart +++ b/mobile/lib/models/group.dart @@ -22,7 +22,7 @@ class Group { DateTime msgTime = DateTime.now(); if (json['last_message_time'] != null) { - msgTime = DateTime.parse(json['last_message_time']); + msgTime = DateTime.parse(json['last_message_time']).toLocal(); } else if (json['created_at'] != null) { msgTime = DateTime.parse(json['created_at']); }