Opened 8 years ago

Closed 8 years ago

#13807 closed (fixed)

Date/Time functions dont work in the admin ( 1.2 ) - DateTimeShortcuts.handleCalendarQuickLink(0, 0)

Reported by: meder Owned by: nobody
Component: Uncategorized Version: 1.2
Severity: Keywords: date time today get_format
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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?

Change History (3)

comment:2 Changed 8 years ago by meder

It seems like the function is supposed to be in /admin/jsi18n

comment:3 Changed 8 years ago by meder

Resolution: fixed
Status: newclosed

it seems like it's relying on my old even though i'm using virtualenv.

Note: See TracTickets for help on using tickets.
Back to Top