Opened 6 years ago

Closed 6 years ago

#5026 closed bug (fixed)

Comparison between 2 date / Firefox 3.5.6

Reported by: Flany Owned by:
Priority: minor Milestone: 1.8
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


in Firefox when you set minDate and maxDate (to whatever you want), at first load there's no problem. when you change month both links to change month became unselectable. This function has the bug : _isInRange . Because the comparison between minDate and maxDate always return false (except on load).

I don't (and can't) explain the source this issue, perhaps it's microsoftAjax, or another JS API used by my enterprise.

I bypassed the bug with this line of code :

BUG: return ((!minDate FIX:return((!minDate
date >= minDate) && (!maxDate date <= maxDate));

I just change date to number and made the comparison. Hope this can help.

Change History (2)

comment:1 Changed 6 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 6 years ago by kbwood

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3671.

Note: See TracTickets for help on using tickets.