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

Add Option to set default timezone #345

Closed
pglombardo opened this issue Jun 5, 2022 · 6 comments
Closed

Add Option to set default timezone #345

pglombardo opened this issue Jun 5, 2022 · 6 comments

Comments

@pglombardo
Copy link
Owner

pglombardo commented Jun 5, 2022

As requested in this comment

A good solution to this request is to have a timezone setting in settings.yml with an automatic environment variable override. Then also an timezone indication in all time/date displays in the application.

@Viajaz
Copy link

Viajaz commented Oct 5, 2022

Could also use the timezone from the user agent too on the presentation layer.

@GeeekySouro003
Copy link

Hello sir i will be very grateful if i get the oppurtunity to work on this.Please assign me on this.

@pglombardo
Copy link
Owner Author

Hi @GeeekySouro003 - that would be a very helpful contribution.

The strategy would be to add the timezone option to config/settings.yml and config/defaults/setting.yml with UTC as the default and then throughout the application where we display a date/time, make sure it's formatted for the timezone configured. This is done with .in_time_zone(<timezone>)

@blaine07
Copy link

blaine07 commented Dec 2, 2023

I promise; not that guy just curious: is there any update on the status or timeframe of this?

Thanks!!

@pglombardo
Copy link
Owner Author

Hi @blaine07! I had a bit of time and just added this option in #345. I'll try an release it soon once the build/tests pass and update here.

@pglombardo
Copy link
Owner Author

This has been released in v1.34.5. Thanks all for the input/support!

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

4 participants