From f5ee7f0fc5e554a736080115ec60422270d2000d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 15 Mar 2019 03:16:48 +0100 Subject: [PATCH] Datetime fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57d81f3..6b5dc5a 100644 --- a/README.md +++ b/README.md @@ -496,8 +496,8 @@ import pytz ```python = D/T/DT.fromisoformat('') # Object from ISO string.
= DT.strptime(, '') # Datetime from string, according to format. - = D/DT.fromordinal() # Date or datetime from days since Christ. - = D/DT.fromtimestamp() # D/DT from seconds since Epoch in local time. + = D/DT.fromordinal() # Object from days since Christ. + = D/DT.fromtimestamp() # Object from seconds since Epoch in local time. = DT.utcfromtimestamp() # Naive DT from seconds since Epoch in UTC time. = DT.fromtimestamp(, ) # Aware DT from seconds since Epoch in tz time. ```