summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTheo Julienne <theo.julienne@gmail.com>2014-05-25 14:52:05 +1000
committerTheo Julienne <theo.julienne@gmail.com>2014-05-25 14:52:05 +1000
commitdf8817bbd1d6d97bda678e6ddf03d5ec1c1e4d8a (patch)
tree59569f824c9660b438839ed1def40d62e7a1bc2e /docs
parent1168580de4ee3d6038aeb021a17e4350a09c9daf (diff)
downloadboto-df8817bbd1d6d97bda678e6ddf03d5ec1c1e4d8a.tar.gz
Fix timezones in CloudWatch date range example.
Diffstat (limited to 'docs')
-rw-r--r--docs/source/cloudwatch_tut.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/cloudwatch_tut.rst b/docs/source/cloudwatch_tut.rst
index c9302092..37263a8d 100644
--- a/docs/source/cloudwatch_tut.rst
+++ b/docs/source/cloudwatch_tut.rst
@@ -76,7 +76,7 @@ that we are interested in. For this example, let's say we want the
data for the previous hour::
>>> import datetime
- >>> end = datetime.datetime.now()
+ >>> end = datetime.datetime.utcnow()
>>> start = end - datetime.timedelta(hours=1)
We also need to supply the Statistic that we want reported and