diff --git a/README.md b/README.md index 4497e79..a4cafad 100644 --- a/README.md +++ b/README.md @@ -606,6 +606,7 @@ from dateutil.tz import UTC, tzlocal, gettz, datetime_exists, resolve_imaginary * **Use `'.weekday()'` to get the day of the week as an int, with Monday being 0.** * **`'fold=1'` means the second pass in case of time jumping back for one hour.** * **Timedelta normalizes arguments to ±days, seconds (< 86 400) and microseconds (< 1M).** +* **`' = resolve_imaginary()'` fixes DTs that fall into the missing hour.** ### Now ```python diff --git a/index.html b/index.html index a277b5a..b85fdc7 100644 --- a/index.html +++ b/index.html @@ -538,6 +538,7 @@ Point(x=1, y=2
  • Use '<D/DT>.weekday()' to get the day of the week as an int, with Monday being 0.
  • 'fold=1' means the second pass in case of time jumping back for one hour.
  • Timedelta normalizes arguments to ±days, seconds (< 86 400) and microseconds (< 1M).
  • +
  • '<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.