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

Add BsonDate.toSysTime(tz) overload #2252

merged 1 commit into from Jan 14, 2019


None yet
2 participants
Copy link

commented Jan 12, 2019

Otherwise right now when using the Bson constructor taking a date with null timezone, it will take the local time. When the local time timezone is negative and you want to convert back from BsonDate to SysTime to Date, you will be a day behind than what you originally input because you can only convert to SysTime using UTC.

@s-ludwig s-ludwig merged commit 99168f8 into vibe-d:master Jan 14, 2019

3 checks passed

codecov/patch 0% of diff hit (target 34.819%)
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

@WebFreak001 WebFreak001 deleted the WebFreak001:bsondate-systime branch Jan 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.