diff --git a/Endpoint/Common/Services/CronUpdateSkipService.cs b/Endpoint/Common/Services/CronUpdateSkipService.cs index fc766d1..710ce07 100644 --- a/Endpoint/Common/Services/CronUpdateSkipService.cs +++ b/Endpoint/Common/Services/CronUpdateSkipService.cs @@ -45,7 +45,7 @@ public static class CronUpdateSkipService if (depth <= 0) return []; - DateTimeOffset nextRunTime = (currentDate?.ToDateTime(TimeOnly.MinValue) ?? DateTime.Now).ToUniversalTime(); + DateTimeOffset nextRunTime = (currentDate?.ToDateTime(TimeOnly.MinValue) ?? DateTime.Now); List result = []; do @@ -68,7 +68,7 @@ public static class CronUpdateSkipService continue; } - result.Add(nextOccurrence.Value.ToLocalTime()); + result.Add(nextOccurrence.Value); nextRunTime = nextOccurrence.Value.AddMinutes(1); } while (result.Count < depth);