Skip to content

[FR] Timezone setting for Docker container #88

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

Closed
gabrieldubinsky opened this issue Apr 5, 2025 · 4 comments
Closed

[FR] Timezone setting for Docker container #88

gabrieldubinsky opened this issue Apr 5, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@gabrieldubinsky
Copy link

Is your feature request related to a problem? Please describe.
It seems that currently the automatic refresh cron job is set from UTC time. I am seeing a 4 hour offset when setting the automatic refresh to a specific time each day in UTC-4.

Describe the solution you'd like
It would be nice to support setting the timezone through an environment variable in the compose file:
environment:
- TZ=America/New_York
Or in the cup.json config file somehow.

Additional context
I think the environment variable just requires installing the tzdata package via the Dockerfile, unless it's already included in the image.

Thanks for your time!

@gabrieldubinsky gabrieldubinsky added the enhancement New feature or request label Apr 5, 2025
@sergi0g
Copy link
Owner

sergi0g commented Apr 6, 2025

Hi @gabrieldubinsky!
Thanks for the suggestion! I'll add this to the roadmap. You may have to wait a while though, because I barely have enough time to fix bugs. I hope that's ok with you!

@gabrieldubinsky
Copy link
Author

No problem, I appreciate it!

@sergi0g sergi0g added this to Roadmap Apr 7, 2025
@sergi0g sergi0g moved this to Planned in Roadmap Apr 7, 2025
@sergi0g
Copy link
Owner

sergi0g commented May 21, 2025

@gabrieldubinsky, get ready for the next release, because TZ support is here!

@sergi0g sergi0g closed this as completed May 24, 2025
@github-project-automation github-project-automation bot moved this from Planned to Done in Roadmap May 24, 2025
@gabrieldubinsky
Copy link
Author

This is great, thanks for your hard work on the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants