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:


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.


/* 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)) {
            return date;

Change History (3)

comment:1 Changed 10 years ago by Scott González


comment:2 Changed 10 years ago by Scott González

Owner: set to aruizna
Status: newpending

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?

comment:3 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

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!

Note: See TracTickets for help on using tickets.