summaryrefslogtreecommitdiff
path: root/django/utils/formats.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #5714 -- Strip whitespaces around date and time form field values ↵Jannis Leidel2011-05-011-2/+5
| | | | | | before converting it to a native type. Thanks to SmileyChris for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14824 -- Corrected the handling of formats when USE_L10N is disabled. ↵Russell Keith-Magee2011-02-041-1/+11
| | | | | | Thanks to nullie for the report and initial patch, and to idle for the separate report with helpful debug info. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed stability of data input/output L10N format modules priority order. ↵Ramiro Morales2011-02-031-2/+2
| | | | | | Thanks tonnzor for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #15024 -- Ensure that choice of L10N format module used is stable ↵Ramiro Morales2011-01-131-1/+3
| | | | | | given a stable setup of format modules in ll/ and ll_CC/ dirs. Thanks David Reynolds for the report and suggestions leading to the solution. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14807 -- Ensure that boolean values aren't localized as T.rue and ↵Russell Keith-Magee2010-12-041-1/+4
| | | | | | Fa.lse because of the thousand separator. Thanks to vanschelven for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14181 -- Added a template tag and filters to allow localization to be ↵Russell Keith-Magee2010-10-291-17/+32
| | | | | | disabled in a template. Thanks to Benjamin Wohlwend for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14053 -- Also localize long integers. Thanks, David Danier.Jannis Leidel2010-09-271-2/+2
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@13920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14290 -- Made format localization faster by caching the format ↵Jannis Leidel2010-09-271-30/+50
| | | | | | modules. Thanks, Teemu Kurppa and Anssi Kääriäinen for the report and initial patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13702 -- Made sure to actually fall back to the l10n format strings ↵Jannis Leidel2010-09-121-10/+10
| | | | | | provided in the settings, when disabled. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12779 - Sanitize numeric form field input according to decimal and ↵Jannis Leidel2010-03-011-0/+19
| | | | | | thousand separator settings. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12777 - Localize decimal fields correctly. Thanks, Florian ApollonerJannis Leidel2010-02-051-5/+3
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@12382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12435 - Handle Unicode characters in format strings correctly.Jannis Leidel2010-01-011-0/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@12057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12472 - Correctly show TimeFields values when using locale-aware ↵Jannis Leidel2010-01-011-1/+7
| | | | | | formatting. Thanks to Ramiro Morales for providing the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12454 - Added support for localized formats to admin date and time ↵Jannis Leidel2009-12-301-2/+4
| | | | | | widgets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12444 - Date based widgets now correctly handle input values when ↵Jannis Leidel2009-12-301-18/+25
| | | | | | using locale-aware formatting. Also fixes #7656. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7980 - Improved i18n framework to support locale aware formatting ↵Jannis Leidel2009-12-221-0/+97
(dates and numbers) and form processing. Thanks to Marc Garcia for working on this during his Google Summer of Code 2009! Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37