code: public static LocalDateTime parseDate(String value) {
          if (StringUtils.isBlank(value)) {
              logger.info("[version-info] No date defined, using current date.");
              return Time.now();
          } else {
              try {
                  return LocalDateTime.parse(value, DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss"));
              } catch (DateTimeParseException ex) {
                  logger.warn("[version-info] Wrong date format, using current date: " + value);
                  return Time.now();
              }
          }
      }
docs: Parses the date defined in the application configuration properties as <code>ontrack.version.date</code>.