Opened 12 years ago
Closed 10 years ago
#7267 closed bug (invalid)
DatePicker in maxDate use 23;59:59:999
Reported by: | aruizna | Owned by: | aruizna |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In the internal _getMinMaxDate I performed this function, this detect if is a maxDate what you want and the maxDate must not be an instance of Date, in that case the function Set time of the end of the Date, it is useful when want to set the Time of the DATE.
Code:
/* Determine the current maximum date - ensure no time components are set. */ _getMinMaxDate: function(inst, minMax) { var date = this._determineDate(inst, this._get(inst, minMax + 'Date'), null); ; /*ARN, Cuando el maxDate no es un objeto fecha le seteo para que contemple todo el dia - 23:59:59:999*/ if (minMax == "max" && !(this._get(inst, minMax + 'Date') instanceof Date)) { date.setHours(23); date.setMinutes(59); date.setSeconds(59); date.setMilliseconds(999); } return date; },
Change History (3)
comment:1 Changed 10 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:2 Changed 10 years ago by
Owner: | set to aruizna |
---|---|
Status: | new → pending |
comment:3 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
I don't really understand what you're trying to accomplish here, but datepicker has no time support at all. Can you elaborate on what bug exists or what feature you're trying to add?