When fixing https://github.com/palantir/blueprint/issues/6483 this will likely become the behavior for any date, not just selecting today's date, since using the selected start date as a default for the end date when selecting a time is likely more applicable.
Actual behavior
If selecting today's date, modifying the time of the end date causes the date range to be a single day, even if the allowSingleDayRange prop is true.
Expected behavior
Should not be able to select an end date equal to the start date when allowSingleDayRange is not true.
Possible solution
Add one day to the default value when allowSingleDayRange is not true.
Steps to reproduce
When fixing https://github.com/palantir/blueprint/issues/6483 this will likely become the behavior for any date, not just selecting today's date, since using the selected start date as a default for the end date when selecting a time is likely more applicable.
Actual behavior
If selecting today's date, modifying the time of the end date causes the date range to be a single day, even if the
allowSingleDayRange
prop istrue
.Expected behavior
Should not be able to select an end date equal to the start date when
allowSingleDayRange
is nottrue
.Possible solution
Add one day to the default value when
allowSingleDayRange
is nottrue
.