Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#3615 closed enhancement (wontfix)

clicking today doesnot parse today's date

Reported by: testme Owned by:
Priority: major Milestone: 1.6
Component: ui.datepicker Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:

Description

It seems like a bug to me: when I click on "today" and it doesn't parse today's date, it only works when I click on "Prev" and hitting today will take me back to current month. I personally think it will be more helpful if it simply parse today's date to the input field

Change History (4)

comment:1 Changed 11 years ago by Jörn Zaefferer

Milestone: TBD1.next
Type: bugenhancement

comment:2 Changed 11 years ago by kbwood

Resolution: wontfix
Status: newclosed

The Today link is intended to move show the current month or the month of the current date value, depending on the gotoCurrent setting. It is a quick way of returning to the initial presentation of the datepicker and was not meant to select today's date.

comment:3 Changed 10 years ago by psionides

This is terribly unintuitive. When a user sees a button labeled "Today", he expects it to select today, not just current month... Even the example in the demos (http://www.jqueryui.com/demos/datepicker/#buttonbar) says: "Display a button for selecting Today's date and a Done button for closing the calendar" - I think it's rather obvious that this means marking today's day box as selected and putting its value into the text field.

This should either be fixed so that it does what it says it does, or the documentation should be updated to tell explicitly that this does NOT select today's date (and I would also consider renaming the button to "current month" in this case).

comment:4 Changed 7 years ago by Scott González

Milestone: 1.next1.6
Note: See TracTickets for help on using tickets.