Giter VIP home page Giter VIP logo

Comments (6)

timmipetit avatar timmipetit commented on May 20, 2024 6

I found out that I could fix this by doing docker run -e TZ="Europe/Amsterdam". Maybe this should be added to the docs? Because it seems a non-standard way of setting timezone for a container.

from docker-selenium.

 avatar commented on May 20, 2024

the NodeBase has TZ set which means it will propagate to all the Nodes (however Hub doesn't get TZ set so booo... we can fix it by moving TZ setting to Base image).

A case could be made to chagne TZ to be Zulu and operate on UTC for all.

And yes, when you docker run add the TZ you need with -e TZ="<your tz>"

So I vote on 2 things:

  1. move TZ to Base Docker file so Hub gets it
  2. set TZ to utc timezone as universal

thoughts?

from docker-selenium.

manoj9788 avatar manoj9788 commented on May 20, 2024

Recently I ran into this issue and used the docker run -e TZ="< >" as well.
What sort of help is required to fix this ?

from docker-selenium.

ddavison avatar ddavison commented on May 20, 2024

agreed, @RubyTester, both points. making those changes now.

from docker-selenium.

ddavison avatar ddavison commented on May 20, 2024

also wrote a quick'n'simple wiki to using it: https://github.com/SeleniumHQ/docker-selenium/wiki/Setting-a-Timezone

from docker-selenium.

manoj9788 avatar manoj9788 commented on May 20, 2024

Long back, got this fixed and added it to Leo's repo and not here. Should have added here too.
elgalu/docker-selenium@767bdd6

from docker-selenium.

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.