Line src/Plugin/Field/FieldWidget/MaterializeDateTimeWidget.php
------ ---------------------------------------------------------------------------------------------------------------------
166 Call to deprecated function datetime_date_default_time():
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
\Drupal\Component\Datetime\DateTimePlus::setDefaultDateTime() or
\Drupal\Core\Datetime\DrupalDateTime::setDefaultDateTime() instead.
167 Call to deprecated constant DATETIME_DATE_STORAGE_FORMAT: Deprecated in drupal:8.5.0 and is removed from
drupal:9.0.0. Use \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATE_STORAGE_FORMAT instead.
171 Call to deprecated constant DATETIME_DATETIME_STORAGE_FORMAT: Deprecated in drupal:8.5.0 and is removed from
drupal:9.0.0. Use \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATETIME_STORAGE_FORMAT instead.
176 Call to deprecated constant DATETIME_STORAGE_TIMEZONE: Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::STORAGE_TIMEZONE instead.
224 Call to deprecated function drupal_get_user_timezone():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
date_default_timezone_get() instead.
235 Call to deprecated constant DATETIME_STORAGE_TIMEZONE: Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::STORAGE_TIMEZONE instead.
238 Call to deprecated constant DATETIME_DATE_STORAGE_FORMAT: Deprecated in drupal:8.5.0 and is removed from
drupal:9.0.0. Use \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATE_STORAGE_FORMAT instead.
262 Call to deprecated function datetime_date_default_time():
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
\Drupal\Component\Datetime\DateTimePlus::setDefaultDateTime() or
\Drupal\Core\Datetime\DrupalDateTime::setDefaultDateTime() instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3121584-2.patch | 3.23 KB | swatichouhan012 |
Comments
Comment #2
swatichouhan012 commentedKindly review patch.
Comment #3
Anonymous (not verified) commentedHello,
I tested your patch and it looks good.
Thanks for your contribution.
Kind regards, Denis
Comment #4
arunkumarkit commentedHi Everyone,
I have updated code now and issue resolved.
Thanks
Comment #5
arunkumarkit commented