Use DateTime.UtcNow instead of DateTime.Now for better auditing #965
Closed
emert-tricentis
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it is better to use
DateTime.UtcNow
instead ofDateTime.Now
inUpdateEntities
method inAuditableEntityInterceptor
class.One can deploy the application to different servers in different time zones. Timezone information in auditable entities is more beneficial for auditing and debugging.
Beta Was this translation helpful? Give feedback.
All reactions