From 590ee3ed167ef7d1dad681efd6d9a4dc0767f02a Mon Sep 17 00:00:00 2001 From: Reza Mohammadi Date: Sat, 17 Jan 2015 17:23:02 +0330 Subject: [PATCH] [1.8.x] Fixed Persian locale FIRST_DAY_OF_WEEK & DECIMAL/THOUSAND_SEPARATORs. Reference: http://lh.2xlibre.net/locale/fa_IR/ Backport of f1ff9407c94c4574d100efc3d224c1f79e2fb53d from master --- django/conf/locale/fa/formats.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django/conf/locale/fa/formats.py b/django/conf/locale/fa/formats.py index f70cb8387a..c1678b81cd 100644 --- a/django/conf/locale/fa/formats.py +++ b/django/conf/locale/fa/formats.py @@ -12,13 +12,13 @@ YEAR_MONTH_FORMAT = 'F Y' MONTH_DAY_FORMAT = 'j F' SHORT_DATE_FORMAT = 'Y/n/j' SHORT_DATETIME_FORMAT = 'Y/n/j،‏ G:i' -# FIRST_DAY_OF_WEEK = +FIRST_DAY_OF_WEEK = 6 # The *_INPUT_FORMATS strings use the Python strftime format syntax, # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior # DATE_INPUT_FORMATS = # TIME_INPUT_FORMATS = # DATETIME_INPUT_FORMATS = -DECIMAL_SEPARATOR = ',' -THOUSAND_SEPARATOR = '.' +DECIMAL_SEPARATOR = '.' +THOUSAND_SEPARATOR = ',' # NUMBER_GROUPING =