calendar-dates
v2.7.2
Published
Get calendar dates for a given month - Mostly for creating a custom calendar control
Downloads
4,171
Maintainers
Readme
calendar-dates
📆 Get a list of calendar dates with no external dependencies.
You can use this to create your own calendar controls
🗜️ Installation
npm i calendar-dates
# or
yarn add calendar-dates
How to use it
Full documentation.
Change Log
2.5.1
Fix data for December and January dates #33 by ewolfe. Decided to bump up the minor as it was a significant bug fix.
Decision based on React team's decision (even though this is not a React component) on releasing v16.7 not including Hooks.
2.4.0
Fixed ISO8601 date return value to match current date.
- Thank you again ewolfe 👊.
2.3.0
- Returns ISO8601 date.
- Thank you ewolfe 🙌.
- Removed
package-lock.json
, which was accidentally added by usingnpm
instead ofyarn
.
2.0.0
Removed all methods except two methods, which return a promise.
- getDates(date)
- getMatrix(date)
Following methods are removed
- getDatesAsync
- getMatrixAsync
- getDatesWithMetadata
- getDatesWithMetadataAsync
- getMatrixWithMetadata
- getMatrixWithMetadataAsync
1.1.2
Updated README to include *WithMetadata
examples
1.1.1
Fixed runtimeGenerator issue
1.1.0
Added *WithMetadata
methods
1.0.0
Added "*Async" versions
License
Contributors
Thanks goes to these wonderful people (emoji key):
| Sung Kim💻 🎨 ⚠️ | ewolfe💻 ⚠️ | Dave Follett📖 | | :---: | :---: | :---: |
This project follows the all-contributors specification. Contributions of any kind welcome!