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']); }