Skip to content

Commit

Permalink
Use DateTimeOffset in BaseDomainEvent.
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis committed Mar 30, 2021
1 parent 6a09fe6 commit 27c2c6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ namespace PluralsightDdd.SharedKernel
{
public abstract class BaseDomainEvent : INotification
{
public DateTime DateOccurred { get; protected set; } = DateTime.UtcNow;
public DateTimeOffset DateOccurred { get; protected set; } = DateTime.UtcNow;
}
}

0 comments on commit 27c2c6b

Please sign in to comment.