Skip to content

Commit

Permalink
Handle time zone mismatch for starting bulk delete jobs
Browse files Browse the repository at this point in the history
Fixes #380
  • Loading branch information
MarkMpn committed Oct 30, 2023
1 parent add2b61 commit 6de3297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MarkMpn.Sql4Cds.Engine/ExecutionPlan/BulkDeleteJobNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public string Execute(NodeExecutionContext context, out int recordsAffected)
{
JobName = $"SQL 4 CDS {GetDisplayName(0, meta)} Bulk Delete Job",
QuerySet = new[] { query },
StartDateTime = DateTime.Now,
StartDateTime = DateTime.UtcNow,
RecurrencePattern = String.Empty,
SendEmailNotification = false,
ToRecipients = Array.Empty<Guid>(),
Expand Down

0 comments on commit 6de3297

Please sign in to comment.