From 87c0456afa984be383fa2d1b640315bab7645990 Mon Sep 17 00:00:00 2001 From: Julen Ruiz Aizpuru Date: Tue, 27 May 2014 10:40:39 +0200 Subject: [PATCH] Docs: minor fixes --- docs/dates.rst | 4 ++-- docs/locale.rst | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.47.2