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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

TImeZone fetching wrong on multiple OS #264

Closed
Sytten opened this issue Aug 8, 2022 · 0 comments
Closed

TImeZone fetching wrong on multiple OS #264

Sytten opened this issue Aug 8, 2022 · 0 comments

Comments

@Sytten
Copy link
Member

Sytten commented Aug 8, 2022

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help us know what to work on
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Bug description

As discussed here time-rs/time#493, the localoffset_at on unix is behind a single thread check (https://github.com/time-rs/time/blob/main/src/sys/local_offset_at/unix.rs#L115-L117) which doesn't work on macos64. The reason is that the libc implementation is not thread safe when used in combination with setenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Released
Development

No branches or pull requests

2 participants