Code Monkey home page Code Monkey logo

time_zone's People

Contributors

dmytrostepaniuk avatar imdrasil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dmytrostepaniuk

time_zone's Issues

Logo contribution

Hi,

I designed a logo to contribute to Timezone. I was inspired by the description in the readme file when creating the logo. If you like it, I think I will send you a pr. Otherwise, I can design something you want.

1

Crystal 0.25.0 dropped support for Time::Kind

require "time_zone"
^

in lib/time_zone/src/time_zone.cr:19: while requiring "./time_zone/time"

require "./time_zone/time"
^

in lib/time_zone/src/time_zone/time.cr:4: while requiring "./time/canonical_time_instance_methods"

require "./time/canonical_time_instance_methods"
^

in lib/time_zone/src/time_zone/time/canonical_time_instance_methods.cr:4: undefined constant ::Time::Kind

      alias Kind = ::Time::Kind

Next release Crystal 0.25.0 will have time zone support in standard library

Crystal's stdlib has had support for time zones since early this year in master and it will be included in the upcoming release Crystal 0.25.0. Maybe you have already taken a look at this? (the process is documented in crystal-lang/crystal#5324)

Most of the features this shard provides are already implemented there, even with a cleaner API (due to being directly integrated in the standard library).

There are a certainly quite a few things this shard offers that are not in the stdlib implementation. For example parsing timezone db files in text format (this is usually not really needed as the binary format is more memory and time efficient). Or integrating country codes to time zones, mostly trivial mapping.

Maybe there are other features as well, that I've missed. Please let me know!

While such features are probably not all suited for the standard library, it would certainly make sense to make them available as shards integrating with the new time zone API in the stdlib.

This could be a good time to join forces and discuss design and implementations of a new time and time zone related shard to provide enhanced features based on the stdlib API.
I'd be happy if you're willing to contribute.

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.