Giter Club home page Giter Club logo

Comments (3)

bokmann avatar bokmann commented on June 10, 2024

Thats out of scope for this gem. Much like Rails (which frankly, is where I use this gem most of the time), the server is set to one time zone and stays that way.

Supporting multiple time zones is tricky... far trickier than you realize unless you've done it before on several apps... trickier still if users in different time zones need to see the same data and somehow agree on dates and times. I've written apps used across many countries for the U.S. State Department, and I get dizzy every time we have to deal with date logic. Its gets all the more complicated because the clients never appreciate the complexities and end up specifying half-baked requirements around reporting periods, etc.

For something that will help you in this quest, check out my other gem, tz_magic.

https://github.com/bokmann/tz_magic

for a rails app, it gives you a reasonable way to figure out the timezone setting of the end user's browser.

I have considered writing a book on the subject of distributed apps and time zone support, but its a monumental effort, and that's not the topic I want to be famous for...

from business_time.

Nitrodist avatar Nitrodist commented on June 10, 2024

Sounds good!

from business_time.

craiglittle avatar craiglittle commented on June 10, 2024

Hey, @Nitrodist! We just released a gem called biz that supports multiple schedule configurations. Check out the documentation and feel free to shoot me an email or open an issue if you have any questions.

from business_time.

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.