Giter Club home page Giter Club logo

Comments (8)

huan avatar huan commented on June 12, 2024 1

Glad to hear that, Cheers! 🍻

from docker-simple-mail-forwarder.

huan avatar huan commented on June 12, 2024

Yes, we should.

And actually, we have already support it by setting the TZ environment by the docket -e to change the timezone inside the container.

However, we have not document it in the README yet.

Would you like to add a section to the README for the timezone support? A PR will be very welcome.

from docker-simple-mail-forwarder.

me1299 avatar me1299 commented on June 12, 2024

Hi Huan,

This is actually not working for me. I've set the timezone in my docker compose file.
Within the docker container:

echo $TZ
Europe/Amsterdam

So the TZ variable is available, but after requesting the time:

date
Thu Jun 6 10:11:12 UTC 2019

It's 2 hours of.
Amsterdam is UTC+1 (+2 with daylight savings)

from docker-simple-mail-forwarder.

huan avatar huan commented on June 12, 2024

@me1299 Yes, you are right.

I had just tested in the docker container and it not worked.

I believe we should add tzdata to the docker image as you suggested.

Would you like to send a PR to fix this problem? Thank you very much.

from docker-simple-mail-forwarder.

me1299 avatar me1299 commented on June 12, 2024

@huan Consider it done ;)

from docker-simple-mail-forwarder.

huan avatar huan commented on June 12, 2024

The latest docker image had been published, please let me know if it works or not.

Thanks for your contribution!

from docker-simple-mail-forwarder.

me1299 avatar me1299 commented on June 12, 2024

Hi Huan,

It's working!

from docker-simple-mail-forwarder.

huan avatar huan commented on June 12, 2024

@me1299 One more thing:

Would you like to add one-line documentation of how to set the timezone with TZ environment variable in README? Because that would help other developers a lot when they need this feature.

from docker-simple-mail-forwarder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.