diff --git a/backend/api/Database/Models/MissionRun.cs b/backend/api/Database/Models/MissionRun.cs index 03643ef17..d95da39b6 100644 --- a/backend/api/Database/Models/MissionRun.cs +++ b/backend/api/Database/Models/MissionRun.cs @@ -26,12 +26,12 @@ public MissionStatus Status _status = value; if (IsCompleted && EndTime is null) { - EndTime = DateTime.SpecifyKind(DateTime.UtcNow, DateTimeKind.Unspecified); + EndTime = DateTime.UtcNow; } if (_status is MissionStatus.Ongoing && StartTime is null) { - StartTime = DateTime.SpecifyKind(DateTime.UtcNow, DateTimeKind.Unspecified); + StartTime = DateTime.UtcNow; } } }