docs: def _dfromtimestamp(timestamp):
      """Custom date timestamp constructor. ditto
      """
      try:
          return datetime.date.fromtimestamp(timestamp)
      except OSError:
          timestamp -= time.timezone
          d = datetime.date(1970, 1, 1) + datetime.timedelta(seconds=timestamp)
          if _isdst(d):
              timestamp += 3600
              d = datetime.date(1970, 1, 1) + datetime.timedelta(seconds=timestamp)
          return d