Use DateTime.Now instead of DateTime.UtcNow

This commit is contained in:
2025-11-24 15:05:43 +09:00
parent 3ccccd2467
commit be3d369575
13 changed files with 24 additions and 24 deletions

View File

@ -51,7 +51,7 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
using var transaction = await context.Database.BeginTransactionAsync();
try
{
startedAt = DateTime.UtcNow;
startedAt = DateTime.Now;
await HeadquartersService.SetCampaignStartedAsync(context, campaign.Id, startedAt);
await ProgressStepAsync(context, (int)Step.ParseWait);
@ -95,7 +95,7 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
await ProgressStepAsync(context, (int)Step.End);
endedAt = DateTime.UtcNow;
endedAt = DateTime.Now;
await HeadquartersService.SetCampaignEndedAsync(context, campaign.Id, endedAt);
await transaction.CommitAsync();