GithubHelp home page GithubHelp logo

Comments (5)

CoWinkKeyDinkInc avatar CoWinkKeyDinkInc commented on August 17, 2024

Make sure to set the clock interval to 0 guys. Sorry for not reading the settings fully.

from atom-clock.

CoWinkKeyDinkInc avatar CoWinkKeyDinkInc commented on August 17, 2024

It still doesn't work with fractional seconds.

from atom-clock.

b3by avatar b3by commented on August 17, 2024

Thank you for sharing this dude!
I'm not really sure fractional seconds would work in this case, as the smallest granularity I was considering takes only seconds into account.
The tick is calculated with a modulus operation, so that common refresh intervals (minute, second...) are always synced with the real time.
Do you explicitly need milliseconds accuracy?

from atom-clock.

CoWinkKeyDinkInc avatar CoWinkKeyDinkInc commented on August 17, 2024

I don't need milisecond accuracy, although I find a clock interval option kinda confusing.

from atom-clock.

b3by avatar b3by commented on August 17, 2024

That option is intended to specify how often the clock should refresh the time. Ideally, it can be set to 60 seconds (the default value) if I'm only displaying the minutes in the bar, or to one second if in the bar I also want to show the seconds. If you display the date only, you could set even a bigger timeout value. This saves Atom from useless clock refreshes.

from atom-clock.

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.