Verified Commit 49c6c843 authored by Alex Pott's avatar Alex Pott
Browse files

task: #3617943 Deprecate DateTimePlus::prepareFormat()

By: prudloff
By: bt dev2
By: smustgrave
By: dcam
By: catch
By: quietone
(cherry picked from commit a6e64eca)
parent cedb97f1
Loading
Loading
Loading
Loading
Loading
−16
Changes for core/lib/Drupal/Component/Datetime/DateTimePlus.php: 0 added lines, 16 removed lines.
Original line number Diff line number Diff line
@@ -407,22 +407,6 @@ protected function prepareTimezone($timezone) {
    return $timezone_adjusted;
  }

  /**
   * Prepares the input format value.
   *
   * Changes the input format before trying to use it, if necessary.
   * Can be overridden to handle special cases.
   *
   * @param string $format
   *   A PHP format string.
   *
   * @return string
   *   The massaged PHP format string.
   */
  protected function prepareFormat($format) {
    return $format;
  }

  /**
   * Examines getLastErrors() to see what errors to report.
   *