docs: def date_version(scm=None):
      """Generate a version string based on the SCM type and the date."""
      dt = str(time.strftime('%Y%m%d%H%M'))
      if scm:
          version = "0.0+unknown.{0}.{1}".format(scm, dt)
      else:
          version = "0.0+unknown." + dt
      return version