38
63%
MIT
📆 A collection of useful helpers for handling dates in ReasonML with the same modern API as the well-known `date-fns`.

ReDate

📆 A collection of useful helpers for handling dates in ReasonML with the same modern API as the well-known `date-fns`.

ReDate

Build Status Coverage npm PRs Welcome All Contributors GitHub license

Installation

yarn add @mobily/re-date

or with npm

npm install @mobily/re-date --save

Then add @mobily/re-date to bs-dependencies in your bsconfig.json:

{
  "bs-dependencies": [
    "@mobily/re-date"
  ]
}

Api Reference

If you are familiar with date-fns, then you already know how to use ReDate.

The list of helpers:

Common
Interval
Second
Minute
Hour
Day
Week
Weekday
Month
Year

Status

Check the current status here.

Contributors


Marcin Dziewulski

💻 📖

Radek Kozieł

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

The MIT License.

See LICENSE