From 3ccbe19c8ac552cfb7f4fd03e6f293ada973d928 Mon Sep 17 00:00:00 2001 From: Jiachen Yang Date: Tue, 28 Feb 2012 03:37:58 +0900 Subject: [PATCH] typo in docs/settings.rst#date format and locales --- docs/settings.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index d8ce9b8a..9d34fae0 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -124,9 +124,9 @@ timezone. Date format and locale ---------------------- -If no DATE_FORMAT is set, failback to DEFAULT_DATE_FORMAT. If you need to +If no DATE_FORMAT is set, fallback to DEFAULT_DATE_FORMAT. If you need to maintain multiple languages with different date format, you can set this dict -using language name( ``lang`` in your posts) as key. About available format +using language name (``lang`` in your posts) as key. About available format codes, see `strftime document of python`_ : DATE_FORMAT = { @@ -156,9 +156,8 @@ above: 'jp': ('jpn','%Y-%m-%d(%a)'), } -For available list of `locales on Windows` . On Unix/Linux usually you can get -a list of available locales with command ``locale -a``, see manpage `locale(1)` -for help. +For available list of `locales on Windows`_ . On Unix/Linux usually you can get +a list of available locales with command ``locale -a``, see manpage `locale(1)`_ for help. .. _strftime document of python: http://docs.python.org/library/datetime.html#strftime-strptime-behavior