Claude Paroz
|
ae88e73fa6
|
Replaced some smart_xxx by force_xxx equivalent
smart_str/smart_text should only be used when a potential lazy
string should be preserved in the result of the function call.
|
2012-08-30 15:46:16 +02:00 |
Aymeric Augustin
|
bdca5ea345
|
[py3] Replaced unicode/str by six.text_type/bytes.
|
2012-07-22 09:29:54 +02:00 |
Aymeric Augustin
|
3cb2457f46
|
[py3] Replaced basestring by six.string_types.
|
2012-07-22 09:29:54 +02:00 |
Aymeric Augustin
|
56dbe924a6
|
[py3] Removed longs.
|
2012-07-22 09:29:53 +02:00 |
Julien Phalip
|
1452cecd15
|
Fixed 16938 -- Ensured that the active locale's formats take precedence over the default settings even if they would be interpreted as False in a conditional test (e.g. 0 or empty string). Thanks to pikerr for the report and initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-10-20 12:14:06 +00:00 |
Jannis Leidel
|
66dc22c2d9
|
Fixed #16909 -- Pass language to get_format_modules when calling it from get_format to make sure the correct module is returned.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-09-22 15:04:27 +00:00 |
Jannis Leidel
|
944ef3bb60
|
Fixed #16404 -- Fixed a regression in the localization changes in the humanize app made in r16168. Thanks, grepsd@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-09-08 13:25:11 +00:00 |
Jannis Leidel
|
da3aa22d04
|
Fixed #5714 -- Strip whitespaces around date and time form field values 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
|
2011-05-01 16:14:57 +00:00 |
Russell Keith-Magee
|
d44fb0557a
|
Fixed #14824 -- Corrected the handling of formats when USE_L10N is disabled. 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
|
2011-02-04 13:52:36 +00:00 |
Ramiro Morales
|
987fd51176
|
Fixed stability of data input/output L10N format modules priority order. Thanks tonnzor for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-02-03 15:43:50 +00:00 |
Ramiro Morales
|
fd12e3b218
|
Fixed #15024 -- Ensure that choice of L10N format module used is stable 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
|
2011-01-13 03:02:32 +00:00 |
Russell Keith-Magee
|
ac91d5ef08
|
Fixed #14807 -- Ensure that boolean values aren't localized as T.rue and 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
|
2010-12-04 07:44:00 +00:00 |
Russell Keith-Magee
|
ccc49029b8
|
Fixed #14181 -- Added a template tag and filters to allow localization to be 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
|
2010-10-29 16:48:58 +00:00 |
Jannis Leidel
|
d80d2e8103
|
Fixed #14053 -- Also localize long integers. Thanks, David Danier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-09-27 16:21:16 +00:00 |
Jannis Leidel
|
534792d055
|
Fixed #14290 -- Made format localization faster by caching the format 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
|
2010-09-27 15:25:08 +00:00 |
Jannis Leidel
|
7bb6abed12
|
Fixed #13702 -- Made sure to actually fall back to the l10n format strings provided in the settings, when disabled.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-09-12 19:40:44 +00:00 |
Jannis Leidel
|
0d2a24fd42
|
Fixed #12779 - Sanitize numeric form field input according to decimal and thousand separator settings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-03-01 10:19:24 +00:00 |
Jannis Leidel
|
a28bd76bb6
|
Fixed #12777 - Localize decimal fields correctly. Thanks, Florian Apolloner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-02-05 00:44:35 +00:00 |
Jannis Leidel
|
ac371ccac8
|
Fixed #12435 - Handle Unicode characters in format strings correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-01-01 21:38:58 +00:00 |
Jannis Leidel
|
20fbba7f90
|
Fixed #12472 - Correctly show TimeFields values when using locale-aware 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
|
2010-01-01 21:36:36 +00:00 |
Jannis Leidel
|
fa0653cd1d
|
Fixed #12454 - Added support for localized formats to admin date and time widgets.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-12-30 22:12:16 +00:00 |
Jannis Leidel
|
bf33d3eb1d
|
Fixed #12444 - Date based widgets now correctly handle input values when using locale-aware formatting. Also fixes #7656.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-12-30 22:11:48 +00:00 |
Jannis Leidel
|
9233d04265
|
Fixed #7980 - Improved i18n framework to support locale aware formatting (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
|
2009-12-22 17:58:49 +00:00 |