[django/django] 25e06b: Fixed #18767 -- Fixed admin calendar for other loc...

2 views
Skip to first unread message

GitHub

unread,
Aug 13, 2014, 8:36:45 PM8/13/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 25e06bca57c068d4b9e9b4221b16a667ccb0d38e
https://github.com/django/django/commit/25e06bca57c068d4b9e9b4221b16a667ccb0d38e
Author: Maxime Turcotte <maxime....@savoirfairelinux.com>
Date: 2014-08-13 (Wed, 13 Aug 2014)

Changed paths:
M django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js
M django/contrib/admin/static/admin/js/core.js
M tests/admin_widgets/tests.py

Log Message:
-----------
Fixed #18767 -- Fixed admin calendar for other locales than English.

Refactored openCalendar function from DateTimeShortcuts.js. Now, when
entered manually in the input field, the date will show up correctly on
the calendar for locales that don't use "-" for separator.

Thanks charettes for revivew and Alexey Boriskin for some of the patch.


Reply all
Reply to author
Forward
0 new messages