From c5b873a17341b084662ce395beff0b593ae88ce3 Mon Sep 17 00:00:00 2001 From: Spirtix Date: Tue, 30 Dec 2025 18:42:59 +0100 Subject: [PATCH] clans: utc timestamps --- src/Controllers/Common/GroupController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Controllers/Common/GroupController.cs b/src/Controllers/Common/GroupController.cs index 8602a1a..54dd4ba 100644 --- a/src/Controllers/Common/GroupController.cs +++ b/src/Controllers/Common/GroupController.cs @@ -119,7 +119,7 @@ public class GroupController : Controller { Logo = request.Logo, Color = request.Color, Type = request.Type, - CreateDate = DateTime.Now, + CreateDate = DateTime.UtcNow, GameID = gameId, MaxMemberLimit = 50, GroupID = Guid.NewGuid(), @@ -267,7 +267,7 @@ public class GroupController : Controller { Viking = viking, Group = group, UserRole = UserRole.Member, - JoinDate = DateTime.Now + JoinDate = DateTime.UtcNow }; group.Vikings.Add(joinee); group.LastActiveTime = joinee.JoinDate; @@ -418,7 +418,7 @@ public class GroupController : Controller { Viking = target, Group = vikingRole.Group, UserRole = UserRole.Member, - JoinDate = DateTime.Now + JoinDate = DateTime.UtcNow }; vikingRole.Group.Vikings.Add(joinee); vikingRole.Group.LastActiveTime = joinee.JoinDate;