Skip to content
Browse files

Fixed some i18n markup on date error messages. Thanks, Bastian Kleine…

…idam. Refs


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 2cf4481 commit 5c2e83eef59c9591d1b5c65e5f265fc80271f283 @malcolmt malcolmt committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 django/core/
3 django/core/
@@ -140,7 +140,8 @@ def _isValidDate(date_string):
date(year, month, day)
except ValueError, e:
- raise ValidationError, gettext('Invalid date: %s.' % e)
+ msg = gettext('Invalid date: %s') % gettext(str(e))
+ raise ValidationError, msg
def isValidANSIDate(field_data, all_data):
if not

0 comments on commit 5c2e83e

Please sign in to comment.
Something went wrong with that request. Please try again.