ReDate
📆 A collection of useful helpers for handling dates in Reason with the same modern API as the well-known `date-fns`.
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
Minute
Day
Week
Week Numbering
Month
Year
ISO Week
ISO Year
Status
Check the current status here.
Contributors
Marcin Dziewulski |
Radek Kozieł |
mikaello |
This project follows the all-contributors specification. Contributions of any kind welcome!
License
The MIT License.
See LICENSE