From 7ef8138ca52eb071db320dc1a52d3e625757ceec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 15 Mar 2019 06:32:46 +0100 Subject: [PATCH] Datetime fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e38b023..1f763fa 100644 --- a/README.md +++ b/README.md @@ -487,7 +487,7 @@ import pytz ### Timezone ```python = pytz.utc # UTC timezone. - = pytz.timezone('/') # Timezone from 'Continent/City' string. + = pytz.timezone('/') # Timezone from 'Continent/City_Name' str. =
.astimezone() # Datetime, converted to passed timezone. = .replace(tzinfo=) # Unconverted object with new timezone. ```