Mercurial > babel > old > mirror
diff doc/formatting.txt @ 100:3eaa652b1216
Add `--without-apidocs` switch to `build_doc` command for quicker doc-edit/review cycles.
author | cmlenz |
---|---|
date | Wed, 13 Jun 2007 07:48:06 +0000 |
parents | cf94e70a77f3 |
children |
line wrap: on
line diff
--- a/doc/formatting.txt +++ b/doc/formatting.txt @@ -14,10 +14,12 @@ =============== When working with date and time information in Python, you commonly use the -classes ``date``, ``datetime`` and/or ``time`` from the `datetime package`_. +classes ``date``, ``datetime`` and/or ``time`` from the `datetime`_ package. Babel provides functions for locale-specific formatting of those objects in its ``dates`` module: +.. _`datetime`: http://docs.python.org/lib/module-datetime.html + .. code-block:: pycon >>> from datetime import date, datetime, time @@ -51,8 +53,6 @@ >>> format_date(d, format='full', locale='en') u'Sunday, April 1, 2007' -.. _`datetime package`: http://docs.python.org/lib/module-datetime.html - Pattern Syntax --------------