forked from dangrossman/daterangepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds a new mode "leftStart" #1
Open
MPagel
wants to merge
28
commits into
master
Choose a base branch
from
leftStart-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Fix for maxDate.month is not a function and minDate.month is not a function
in this new mode, a click in the left calendar panel corresponds with a change in the start date, whereas a click in the right panel selects a new end date. Highlighting and updating selection values on mouseover updated.
due in part to lack of glyphicons in current version of bootstrap
The bug happen because the old code assumed that the offset gonna be smaller than 0 or bigger than the screen width when the calendar exceed the screen. But what actually happened is that the browser change the width of the pop-up to the remaining width.
Use a 24-hour format for comparing the current range with labels, so that correct labels get selected when the timePicker option is enabled and two labels are 12 hours apart in the same day.
…ection Correctly calculate chosen label hour
Fix TypeError: moment is not a function(…)
Currently there's no way to distinguish a disabled date from one that's disabled and just from the prev/next month via css. You can determine not disabled with `td.available.off`. Items that are disabled and not current month end up with the class "off off disabled" which can't be selected for specifically. The isCustom is unable to be used to distinguish this either since it's not passed if it's the left or right calendar.
renderTimePicker fix if the selected minute or second are 0. If selected.minute() is 0, that would return false and default to timeSelector. Whatever that might be.
Bug with minYear & maxYear without min/max Date
fix(#1783): fixed a css bug that occurrence when `locale.direction` is ` ltr`
Fix NaN when using timePickerIncrement
renderTimePicker fix
Add identifying class to dates from prev/next month on calendar
Revert "Fix for issue #1587"
Fix broken layout when the picker is too close to the window edge
1813: Wrong rendering for the time picker when using maxDate and maxSpan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
in this new mode, a click in the left calendar panel corresponds with a change in the start date, whereas a click in the right panel selects a new end date. Highlighting and updating selection values on mouseover updated.