You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is better to use DateTime.UtcNow instead of DateTime.Now in UpdateEntities method in AuditableEntityInterceptor 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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