Opened 11 years ago

Closed 10 years ago

#4519 closed bug (wontfix)

getDate without dateFormat

Reported by: Yuke Owned by:
Priority: minor Milestone: 1.8
Component: ui.datepicker Version: 1.7.1
Keywords: datepicker getdate date dateformat Cc: thomas.vanderhaeghen@…
Blocked by: Blocking:

Description

the date returned with the method 'getDate' is with the default dateFormat.

Change History (2)

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

Component: ui.coreui.datepicker
Milestone: TBD1.8

comment:2 Changed 10 years ago by kbwood

Resolution: wontfix
Status: newclosed

$(selector).datepicker('getDate') returns the current date as a Date object or null if nothing selected. Use the $.datepicker.formatDate function if you need to display the date in a particular format.

Note: See TracTickets for help on using tickets.