Skip to main content

Search and Top Navigation

#3615 closed enhancement (wontfix)

Opened November 21, 2008 01:58AM UTC

Closed December 07, 2008 11:02PM UTC

Last modified October 03, 2012 03:37PM UTC

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

Attachments (0)
Change History (4)

Changed November 30, 2008 01:36PM UTC by jzaefferer comment:1

milestone: TBD1.next
type: bugenhancement

Changed December 07, 2008 11:02PM UTC by kbwood comment:2

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.

Changed August 19, 2009 09:57AM UTC by psionides comment:3

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).

Changed October 03, 2012 03:37PM UTC by scottgonzalez comment:4

milestone: 1.next1.6