From f2a5bbe24d02bb447d5904258479af9e3776eb60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 13 Dec 2019 13:07:54 +0100 Subject: [PATCH] Datetime --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76f8f72..cd0149b 100644 --- a/README.md +++ b/README.md @@ -657,7 +657,7 @@ from dateutil.tz import UTC, tzlocal, gettz, resolve_imaginary ### Arithmetics ```python = ± # Result can fall into missing hour. - = - # Returns the difference, ignoring time jumps. + = - # Ignores time jumps if they share non tzlocal tz. = - # Convert DTs to UTC to get the actual delta. ``` diff --git a/index.html b/index.html index b25b46f..2476182 100644 --- a/index.html +++ b/index.html @@ -703,7 +703,7 @@ shuffle(<list>)
  • For abbreviated weekday and month use '%a' and '%b'.
  • Arithmetics

    <D/DT>   = <D/DT> ± <TD>                    # Result can fall into missing hour.
    -<TD>     = <D/DT> - <D/DT>                  # Returns the difference, ignoring time jumps.
    +<TD>     = <D/DT> - <D/DT>                  # Ignores time jumps if they share non tzlocal tz.
     <TD>     = <DT_UTC> - <DT_UTC>              # Convert DTs to UTC to get the actual delta.