From a51055ef866a1214a310f6e1371ab6af78325576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 15 Mar 2019 01:17:06 +0100 Subject: [PATCH] Datetime fix --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 633f3e7..5bce24d 100644 --- a/README.md +++ b/README.md @@ -465,14 +465,13 @@ from datetime import date, time, datetime, timedelta import pytz ``` -### Constructors ```python = date(year, month, day) = time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
= datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0) = timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0) ``` -* **Use `'.weekday()'` to get day of the week (Mon == 0).** +* **Use `'.weekday()'` to get the day of the week (Mon == 0).** * **`'fold=1'` means second pass in case of time jumping back for one hour.** ### Now