Search and Top Navigation
#9978 closed bug (notabug)
Opened April 14, 2014 03:56PM UTC
Closed April 14, 2014 04:09PM UTC
Last modified April 14, 2014 09:18PM UTC
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"
Attachments (0)
Change History (5)
Changed April 14, 2014 04:09PM UTC by comment:1
component: | ui.core → ui.datepicker |
---|---|
resolution: | → notabug |
status: | new → closed |
Changed April 14, 2014 05:30PM UTC by comment:2
In other word you think highlighting two dates on the calendar is acceptable and not confusing to the user?
Surely you jest.
Changed April 14, 2014 05:48PM UTC by comment:3
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.
Changed April 14, 2014 07:55PM UTC by comment:4
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?
Changed April 14, 2014 09:18PM UTC by comment:5
Replying to [comment:4 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.