[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
Describe your pr here.
Pass the weekStartsOn prop to DefinedRange. Fixes the inconsistency between the Calendar and the DefinedRange.
Also changed the order of StaticRanges to make them appear chronologically. Last Month, Last Week, Yesterday, Today, This Week, This Month. If this poses a problem I can fix it, but I needed that order, so I made it the default (my bad not to separate commits).
Types of changes
What types of changes does your code introduce?
Put an
x
in the boxes that applyDescription
Describe your pr here.
Pass the
weekStartsOn
prop toDefinedRange
. Fixes the inconsistency between theCalendar
and theDefinedRange
. Also changed the order ofStaticRanges
to make them appear chronologically.Last Month, Last Week, Yesterday, Today, This Week, This Month
. If this poses a problem I can fix it, but I needed that order, so I made it the default (my bad not to separate commits).