Skip to content

Conversation

@biscuitWizard
Copy link

No description provided.

mythz and others added 30 commits January 31, 2022 02:23
Include DateTimeOffset arg to extension method ToUnixTimeMs. Made the assumption to use 'UtcDateTime' to use original DateTime implementation. Possibly a better way exists.
Note 1:  Due to `private static ToDateTimeSinceUnixEpoch` and `internal DateTimeSerializer.LocalTimeZone` had to re-implement to get it to work.
Note 2: `ToUnixTimeMsAlt` should probably also have a DateTimeOffset implementation, but I did not implement.
collapse DateTimeOffset UnixTimeMs impls
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.