lib/omnibus/build_version_dsl.rb
def has_timestamp?(version)
      _ver, build_info = version.split("+")
      return false if build_info.nil?
      build_info.split(".").any? do |part|
        begin
          Time.strptime(part, Omnibus::BuildVersion::TIMESTAMP_FORMAT)
          true
        rescue ArgumentError
          false
        end
      end
    end
def has_timestamp?(version)
      _ver, build_info = version.split("+")
      return false if build_info.nil?
      build_info.split(".").any? do |part|
        begin
          Time.strptime(part, Omnibus::BuildVersion::TIMESTAMP_FORMAT)
          true
        rescue ArgumentError
          false
        end
      end
    end
Returns true if a given version string Looks like it was already
 created with a function that added a timestamp. The goal of this
 is to avoid breaking all of the people who are currently using
 BuildVersion.semver to create dates.

 @param [String] version
 @return [Boolean]