Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced DateTime.Now with DateTime.UtcNow/MonotonicClock #1009

Merged
merged 1 commit into from
May 26, 2015

Conversation

kekekeks
Copy link
Contributor

#846

In some cases (like Akka.Persistence) it seems that some long-term timestamp is needed, not ephemeral one (which monotonic clock is), so there I've replaced DateTime.Now with DateTime.UtcNow, which should be safe but still improve things regarding daylight saving transitions.

I think that current time offset is irrelevant even for logging purposes, so I've replaced it there too.

rogeralsing added a commit that referenced this pull request May 26, 2015
Replaced DateTime.Now with DateTime.UtcNow/MonotonicClock
@rogeralsing rogeralsing merged commit 7efa23e into akkadotnet:dev May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants