Use DateTime.Now instead of DateTime.UtcNow
This commit is contained in:
@ -55,7 +55,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.ExecutionWait);
|
||||
@ -118,7 +118,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();
|
||||
|
||||
Reference in New Issue
Block a user