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

Chrono fmt::format in UTC #3466

Closed
Kaaml opened this issue May 29, 2023 · 1 comment
Closed

Chrono fmt::format in UTC #3466

Kaaml opened this issue May 29, 2023 · 1 comment

Comments

@Kaaml
Copy link

Kaaml commented May 29, 2023

Hi,

Default behaviour of fmt is to use locale and format time using local timezone. How should be used fmt to always print time in UTC instead of local time zone?

@Kaaml Kaaml changed the title Chrono fmt::formrmat in UTC Chrono fmt::format in UTC May 29, 2023
@vitaut
Copy link
Contributor

vitaut commented May 29, 2023

Looks like a duplicate of #3199. If this is not the case please provide more details and a godbolt repro.

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

No branches or pull requests

2 participants