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

linux: Implement local time zone support #14610

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

apricotbucket28
Copy link
Contributor

I decided to remove the GPUI APIs since chrono already provides this functionality, and is already been used for this purpose in other parts of the code (e.g. here or here)

These usages end up calling the time_format crate, which takes in a UtcOffset. It's probably cleaner to rewrite the crate to take in chrono types, but that would require rewriting most of the code there.

Release Notes:

  • linux: Use local time zone in chat and Git blame

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jul 16, 2024
@mrnugget
Copy link
Member

Seems to still fail on Linux, but that seems unrelated? Or... could it be related? In that case I'm worried :)

@mrnugget mrnugget self-assigned this Jul 17, 2024
@apricotbucket28
Copy link
Contributor Author

apricotbucket28 commented Jul 17, 2024

CI fail is unrelated, it seems like that test errors from time to time 😅 (e.g. here's a commit I found where it failed: https://github.com/zed-industries/zed/actions/runs/9937101754/job/27446694222)

@mrnugget mrnugget merged commit 013c9f0 into zed-industries:main Jul 18, 2024
9 checks passed
@mrnugget
Copy link
Member

Thank you!

@apricotbucket28 apricotbucket28 deleted the linux-localtime branch July 18, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants