summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial02.txt
diff options
context:
space:
mode:
authorDiane DeMers Chen <purplediane@users.noreply.github.com>2022-10-20 15:52:45 -0700
committerGitHub <noreply@github.com>2022-10-20 15:52:45 -0700
commita16132a9c4b32f9580cdda98a2711ae7261c2576 (patch)
tree05e9bae2feb6be9963913f9f2fa659c2da44a090 /docs/intro/tutorial02.txt
parent5c2c7277d4554db34c585477b269bb1acfcbbe56 (diff)
Updated UTC uses to datetime.timezone.utc in docs.
Diffstat (limited to 'docs/intro/tutorial02.txt')
-rw-r--r--docs/intro/tutorial02.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index ee0707456d..b37d0c036b 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -407,7 +407,7 @@ Once you're in the shell, explore the :doc:`database API </topics/db/queries>`::
>>> q.question_text
"What's new?"
>>> q.pub_date
- datetime.datetime(2012, 2, 26, 13, 0, 0, 775217, tzinfo=<UTC>)
+ datetime.datetime(2012, 2, 26, 13, 0, 0, 775217, tzinfo=datetime.timezone.utc)
# Change values by changing the attributes, then calling save().
>>> q.question_text = "What's up?"