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

@ -45,7 +45,7 @@ namespace Hcs.WebApp.BackgroundServices
var messageGuid = string.Empty;
try
{
var startedAt = DateTime.UtcNow;
var startedAt = DateTime.Now;
await headquartersService.SetOperationStartedAsync(operation.Id, startedAt);
state.InvokeOnOperationStarted(operation.Id, operation.CampaignId, startedAt);
@ -55,7 +55,7 @@ namespace Hcs.WebApp.BackgroundServices
}
catch (Exception e)
{
var endedAt = DateTime.UtcNow;
var endedAt = DateTime.Now;
var failureReason = e.CombineMessages();
await headquartersService.SetOperationEndedWithFailAsync(operation.Id, endedAt, failureReason);