Giter Club home page Giter Club logo

Comments (1)

bryangoodrich avatar bryangoodrich commented on July 28, 2024

To me, this is a big issue in general usability. It was designed for my purposes, so I hard coded timestamps locally and required the end-user to export data in UTC, which is the proper transport format timestamps should be in. However, going forward with a hosted solution, we might expect the data store to keep data in UTC (and our MDMS does). The user will want to select time locally. Therefore, options for specifying start and end times should also come with a locale indicator that defaults to what the user's current locale actually is. Using that information, the start and end times should be converted to UTC to match the data store (or converted to match whatever timezone the store maintains, which should be UTC!). On the GUI end, the dropdown list for specifying timezone should also default to the user's locale and maybe default to end being today and beginning being a month or week prior.

Using this framework, I don't think updating the codebase to handle general timezones should be too difficult, but it would be nice to see code for applications that actually do this so I can learn from their implementations.

from eear.

Related Issues (11)

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.