From 6ce839b90a8d4bc028bd88807b3b41a4d1626581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 15 Mar 2019 01:11:48 +0100 Subject: [PATCH] Datetime fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb88851..633f3e7 100644 --- a/README.md +++ b/README.md @@ -484,7 +484,7 @@ import pytz ``` ### Encode -```python +```python = D/T/DT.fromisoformat() # From 'YYYY-MM-DD', 'HH:MM:SS.ffffff[+]' or both.
= DT.strptime(, '') # Datetime from string according to . = D/DT.fromordinal() # Date or datetime from days since Christ.