diff -u b/core/lib/Drupal/Core/Datetime/Element/Datetime.php b/core/lib/Drupal/Core/Datetime/Element/Datetime.php --- b/core/lib/Drupal/Core/Datetime/Element/Datetime.php +++ b/core/lib/Drupal/Core/Datetime/Element/Datetime.php @@ -391,9 +391,9 @@ * * @return string * - * @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. - * HTML date input format should not be exposed to users, as browser widgets - * expose input differently, varying by vendor, locale, device type, etc. + * @deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. HTML date + * input format should not be exposed to users, as browser widgets expose + * input differently, varying by vendor, locale, device type, etc. */ public static function formatExample($format) { if (!static::$dateExample) {