Giter Site home page Giter Site logo

bs-luxon's People

Contributors

davidgomes avatar lukashambsch avatar mikaello avatar rjhilgefort avatar slonoed avatar thomas0c avatar unsignedint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bs-luxon's Issues

Upgrade Luxon to `1.x.x`

Upgrade to the 1.x.x major version. They update pretty frequently, but doing minor bumps after the major upgrade wouldn't need much work when someone needed/wanted it. The current version at the time of this issue is 1.9.0.

Just making a note of this- I may get around to tackling it soon™️.

Split Luxon.re into a few modules

Right now, bs-luxon clients have to use it like this:

let dt = BsLuxon.Luxon.DateTime.local();

Js.log(dt);

We should refactor DateTime into its own module so users can use it like this instead:

let dt = BsLuxon.DateTime.local();

Js.log(dt);

update README - open BsLuxon

Thanks for making bs-luxon! The front page has an example of using it:

DateTime.(
  local()
  |> setZone("America/New_York")
  |> minus(`Duration(Duration.from(~weeks=1, ())))
  |> endOf(`day)
  |> toISO()
);

I think this should have open BsLuxon; at the top, since that's what I needed to do in order to get it to compile; pointing this out for others that want to use the library. See here for an example of using it in a project.

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.