Skip to content

Conversation

@boimart1
Copy link

Fixes #233.

Calling microsec_clock::universal_time() directly avoids the issue where the second could change between the calls to second_clock::local_time() and second_clock::universal_time().

@boimart1 boimart1 changed the title Fix #233: use microsec_clock::universal_time() directly Fix #233: use microsec_clock::universal_time() directly in local_time(time_zone_ptr) Aug 21, 2023
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.

local_microsec_clock::local_time(time_zone_ptr) occasionally returns an incorrect time

1 participant