Skip to content

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