docs: def local_dt(dt):
      """Return an aware datetime in system timezone, from a naive or aware
      datetime.
  
      Naive datetime are assumed to be in UTC TZ.
      """
      if not dt.tzinfo:
          dt = pytz.utc.localize(dt)
      return LOCALTZ.normalize(dt.astimezone(LOCALTZ))