forked from wojtekmaj/react-calendar
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize dates utils (wojtekmaj#259)
* Add makeGetRange helper * Add isValidDate helper * Fixup makeGetRange * Fix test names * More compressed formatting of switch * Add makeGetEdgeOfNeighbor helper * Add docs * Add makeGetEdgeOfNeighborMonth helper * Remove getDifferentMonth function * Add comments * Add makeGetEnd helper * Refactor toYearLabel
- Loading branch information
Showing
2 changed files
with
151 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.