Code Monkey home page Code Monkey logo

timezone-grouping's People

Contributors

neogermi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jcfranco

timezone-grouping's Issues

Enhancements and performance improvements

TL;DR

Made improvements to performance, cross-platform compatibility, and customization options in a fork. Open to collaborate and contribute these enhancements back to this project.


First of all, thanks for this awesome project. Timezone groups is a really interesting and useful concept. I stumbled upon it after reading your awesome medium posts and it's clear how much effort and expertise you've put into it.

Secondly, I did some exploration after forking your repo and managed to make the following modifications:

Enhancements/Improvements

  • improved performance
  • runs in both Node and in the browser
  • accepts arguments to specify:
    • the start date for the time zone group processing
    • the date range for creating the DST-aware time zone groups
    • other date libs to create the time zone groups
    • enable debug mode/messaging
  • use Intl to provide IANA time zones
  • use native APIs as much as possible to avoid using 3rd-party libraries
  • simplify output to reduce size and also reference timezone labels by index to allow for dynamic localization
  • provide hooks to customize output (experimental and undocumented [your thoughts would be greatly appreciated in this area to ensure the API is simple and flexible])

Would you be open to discussing potential collaboration between our versions? I'd be more than happy to contribute back to your repo if you find any of these changes to be helpful and align with your vision and goals. Your insights would be invaluable.

In any case, I believe these changes could benefit the community, so I've published timezone-groups to make it available for use for now.

UTC and DST info

Hi,
I came across your repo and it's great. However, I'm wondering if I can get the UTC and DST (start & end) info for each of the groups. Appreciate any help on this.
Thanks

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.