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