#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
Component: | ui.core → ui.datepicker |
---|---|
Resolution: | → notabug |
Status: | new → closed |
comment:2 Changed 9 years ago by
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
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 follow-up: 5 Changed 9 years ago by
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 Changed 9 years ago by
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.
Yes, that's correct. The current day is always highlighted.