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

Fix for #432. #433

Merged
merged 2 commits into from
Aug 9, 2021
Merged

Fix for #432. #433

merged 2 commits into from
Aug 9, 2021

Conversation

c-lipka
Copy link
Contributor

@c-lipka c-lipka commented Jul 29, 2021

To work around Boost's msec-precision UTC timer erroneously reporting local time instead of UTC on some systems, we're now also probing the sec-precision UTC timer, which should be more reliable in terms of time zone: The rounded difference between the two should be able to give us the time zone offset (if any) in the msec-precision timer, which we then compensate for accordingly.

To work around Boost's msec-precision UTC timer erroneously reporting local time instead of UTC on some systems, we're now also probing the sec-precision UTC timer, which should be more reliable in terms of time zone: The rounded difference between the two should be able to give us the time zone offset (if any) in the msec-precision timer, which we then compensate for accordingly.
@c-lipka c-lipka added this to the v3.8.0-beta.2 milestone Jul 29, 2021
@c-lipka c-lipka merged commit 5c8afac into POV-Ray:release/v3.8.0 Aug 9, 2021
@c-lipka c-lipka deleted the bugfix/432 branch August 9, 2021 00:21
trevorsandy pushed a commit to trevorsandy/povray that referenced this pull request May 21, 2022
To work around Boost's msec-precision UTC timer erroneously reporting local time instead of UTC on some systems, we're now also probing the sec-precision UTC timer, which should be more reliable in terms of time zone: The rounded difference between the two should be able to give us the time zone offset (if any) in the msec-precision timer, which we then compensate for accordingly.
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.

1 participant