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
With .NET 8,Microsoft has finally delivered a unified abstraction for dealing with DateTime stuff in a controlled and mockable way. TimeProvider should be suggested as a replace for the direct use of DateTime.Now, DateTime.UtcNow and DateTime.Today: when running under .NET 8+ an analyzer emitting a warning would be very helpful.
The text was updated successfully, but these errors were encountered:
With .NET 8,Microsoft has finally delivered a unified abstraction for dealing with DateTime stuff in a controlled and mockable way. TimeProvider should be suggested as a replace for the direct use of DateTime.Now, DateTime.UtcNow and DateTime.Today: when running under .NET 8+ an analyzer emitting a warning would be very helpful.
The text was updated successfully, but these errors were encountered: