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

Clock.Now() returns DateTimeOffset #377

Merged
merged 1 commit into from Feb 23, 2024
Merged

Conversation

Corniel
Copy link
Collaborator

@Corniel Corniel commented Feb 21, 2024

To prevent misuse Clock.Now(), returing DateTimeOffset helps. The LocalDateTime has been misunderstood by many (unfortunately). for people who still want the LocalDateTime the extension .ToLocal() is added.

@Corniel Corniel added this to the Qowaiv 7.0 milestone Feb 21, 2024
@Corniel Corniel self-assigned this Feb 21, 2024
@Corniel Corniel merged commit 1cfaf58 into qowaiv-v7 Feb 23, 2024
1 of 2 checks passed
@Corniel Corniel deleted the clock-now-with-offset branch February 23, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants