Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9978 closed bug (notabug)

Two days appear in the datepicker calendar for current year and month

Reported by: llorracj Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

Description

If you "initialize" a datepicker calendar with a date in the current month and year both the "initialized" day and the current day are "highlighted"

Change History (5)

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

Component: ui.coreui.datepicker
Resolution: notabug
Status: newclosed

Yes, that's correct. The current day is always highlighted.

comment:2 Changed 9 years ago by llorracj

In other word you think highlighting two dates on the calendar is acceptable and not confusing to the user? Surely you jest.

comment:3 Changed 9 years ago by tj.vantoll

They're highlighted differently and you can easily override this behavior: http://jsfiddle.net/tj_vantoll/bu6n6/. If you have any questions please use the forums or Stack Overflow.

comment:4 Changed 9 years ago by llorracj

I agree with the version of js you are using you get the desired result. I am using jquery-1.10.2.js and jquery-ui-1.10.4.custom.js. Using these versions with the code you posted both the 2nd and the 14th are highlighted. Any suggestions?

comment:5 in reply to:  4 Changed 9 years ago by tj.vantoll

Replying to llorracj:

I agree with the version of js you are using you get the desired result. I am using jquery-1.10.2.js and jquery-ui-1.10.4.custom.js. Using these versions with the code you posted both the 2nd and the 14th are highlighted. Any suggestions?

It should be the same, so I'd need to see a live example to help. Please take this discussion to the jQuery forums or Stack Overflow.

Note: See TracTickets for help on using tickets.