From: Julen Ruiz Aizpuru Date: Tue, 27 May 2014 08:40:39 +0000 (+0200) Subject: Docs: minor fixes X-Git-Tag: dev-2a51c9b95d06~34^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F190%2Fhead;p=thirdparty%2Fbabel.git Docs: minor fixes --- diff --git a/docs/dates.rst b/docs/dates.rst index f03c21ac..818a3941 100644 --- a/docs/dates.rst +++ b/docs/dates.rst @@ -50,8 +50,8 @@ Core Time Concepts Working with dates and time can be a complicated thing. Babel attempts to simplify working with them by making some decisions for you. Python's -datetime module knows to different ways to deal with times and dates: -naive and timezone aware datetime objects. +datetime module has different ways to deal with times and dates: naive and +timezone-aware datetime objects. Babel generally recommends you to store all your time in naive datetime objects and treat them as UTC at all times. This simplifies dealing with diff --git a/docs/locale.rst b/docs/locale.rst index 5e9b2487..cf4f6d5c 100644 --- a/docs/locale.rst +++ b/docs/locale.rst @@ -80,9 +80,9 @@ Locale Display Names ==================== Locales itself can be used to describe the locale itself or other locales. -This mainly means that given a locale object you can ask it for it's +This mainly means that given a locale object you can ask it for its canonical display name, the name of the language and other things. Since -the locales cross reference each other you can ask for locale names in any +the locales cross-reference each other you can ask for locale names in any language supported by the CLDR: .. code-block:: pycon @@ -113,7 +113,7 @@ Calendar Display Names ====================== The :class:`~babel.core.Locale` class provides access to many locale -display names related to calendar display, such as the names of week days +display names related to calendar display, such as the names of weekdays or months. These display names are of course used for date formatting, but can also be