From a4fc3ad6ca337140e0b098665942f83188f9aad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 6 Feb 2020 06:08:27 +0100 Subject: [PATCH] Grammar fixes --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c16fe6..322bac0 100644 --- a/README.md +++ b/README.md @@ -599,8 +599,8 @@ from dateutil.tz import UTC, tzlocal, gettz, resolve_imaginary minutes=0, hours=0, weeks=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.** -* **`' = resolve_imaginary()'` fixes DTs that fall into missing hour.** +* **`'fold=1'` means the second pass in case of time jumping back for one hour.** +* **`' = resolve_imaginary()'` fixes DTs that fall into the missing hour.** ### Now ```python diff --git a/index.html b/index.html index a20d077..728d646 100644 --- a/index.html +++ b/index.html @@ -655,8 +655,8 @@ shuffle(<list>)
  • Use '<D/DT>.weekday()' to get the day of the week (Mon == 0).
  • -
  • 'fold=1' means second pass in case of time jumping back for one hour.
  • -
  • '<DTa> = resolve_imaginary(<DTa>)' fixes DTs that fall into missing hour.
  • +
  • 'fold=1' means the second pass in case of time jumping back for one hour.
  • +
  • '<DTa> = resolve_imaginary(<DTa>)' fixes DTs that fall into the missing hour.

Now

<D/DTn>  = D/DT.today()                     # Current local date or naive datetime.
 <DTn>    = DT.utcnow()                      # Naive datetime from current UTC time.