summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/dates.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dates.rst b/docs/dates.rst
index bb3398a..0ddd7bc 100644
--- a/docs/dates.rst
+++ b/docs/dates.rst
@@ -286,7 +286,7 @@ directly interface with it from within Babel:
>>> from datetime import time
>>> from babel.dates import get_timezone, UTC
- >>> dt = datetime(2007, 04, 01, 15, 30, tzinfo=UTC)
+ >>> dt = datetime(2007, 4, 1, 15, 30, tzinfo=UTC)
>>> eastern = get_timezone('US/Eastern')
>>> format_datetime(dt, 'H:mm Z', tzinfo=eastern, locale='en_US')
u'11:30 -0400'