Date/Time functions dont work in the admin ( 1.2 ) - DateTimeShortcuts.handleCalendarQuickLink(0, 0)
|Reported by:||meder||Owned by:||nobody|
|Severity:||Keywords:||date time today get_format|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I grabbed Django 1.2.1 and setup my new project up. Within the admin, if you have a date time field there are corresponding widgets to populate them.
"Today" link is mapped to "DateTimeShortcuts.handleCalendarQuickLink(0, 0)" which internally invokes the get_format global JS method but it doesn't exist. This reference to get_format is in admin js calendar.js file. My old calendar.js doesn't have this reference.
I checked the rest of the admin js files and they dont seem to have that function. Is it possible it was left out in the 1.2 release?