From 6a5a76fca9c8a49722c333196feafe7be9c357be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 15 Mar 2019 02:59:51 +0100 Subject: [PATCH] Datetime fix --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 035c25f..52ef8bc 100644 --- a/README.md +++ b/README.md @@ -489,10 +489,10 @@ import pytz ```python = pytz.utc # UTC timezone. = pytz.timezone('/') # Timezone from 'Continent/City' string. - =
.astimezone() # Converts datetime to passed timezone. - = .replace(tzinfo=) # Changes timezone without conversion. - = .utcoffset() # Returns timezone's current offset from UTC. - = .dst() # Returns daylight saving time offset. + =
.astimezone() # Datetime converted to passed timezone. + = .replace(tzinfo=) # Unconverted object with new timezone. + = .utcoffset() # Timezone's current offset from UTC. + = .dst() # Daylight saving time offset. ``` ### Encode