Skip to content
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

fetch invalid dates from #1988

Closed
wants to merge 202 commits into from
Closed

fetch invalid dates from #1988

wants to merge 202 commits into from

Conversation

ABTanjir
Copy link

fetch invalid dates from ajax call which can't be selected as date range.
more info can be found here: https://github.com/ABTanjir/daterangepicker_extended

bradhe and others added 30 commits January 8, 2016 17:08
Revert "Fix issue in linkedCalendars, where if the maxDate is this month, the…"
Make template options to be complied jquery object
SASS-ify the stylesheet
This allows apps that integrate bootstrap via a different package, for example nemo64:bootstrap
only weakly require twbs:bootstrap
… selecting date

This happens because of an erroneous comparison to maxDate.month() vs maxDate itself.
when the option "singleDatePicker" is true, all icons selected by ".daterangepicker_input � i" are hidden. this includes the time icon, which is displayed when the "timePicker" option is true. This fix just hides the "calendar" icon.
in some cases there was an error of not showing Today item in range list beacause of miliseconds units in isAfter and so on
fix some wtf magic
Export constructor in node/browserify environment
dangrossman and others added 29 commits May 9, 2018 16:25
Fix for maxDate.month is not a function and minDate.month is not a function
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.
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
Add identifying class to dates from prev/next month on calendar
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.