diff options
author | Julen Ruiz Aizpuru <julenx@gmail.com> | 2014-05-27 10:40:39 +0200 |
---|---|---|
committer | Julen Ruiz Aizpuru <julenx@gmail.com> | 2015-08-05 19:59:41 +0200 |
commit | 87c0456afa984be383fa2d1b640315bab7645990 (patch) | |
tree | d9f1125c180456ca0350dcce718f364fea5f9aa4 /docs | |
parent | 56c59d5a90ce6fb4b8435ed55ced80be356ae8ab (diff) | |
download | babel-87c0456afa984be383fa2d1b640315bab7645990.tar.gz |
Docs: minor fixes
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dates.rst | 4 | ||||
-rw-r--r-- | docs/locale.rst | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/dates.rst b/docs/dates.rst index f03c21a..818a394 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 5e9b248..cf4f6d5 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 |