With the release of Drupal 9 beta there were additional code deprecations added to the codebase. The following is a new Drupal 9 Compatibility issue:

------ --------------------------------------------------------- 
  Line   src/AddToCalendarApiWidget.php                           
 ------ --------------------------------------------------------- 
  53     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.                     
 ------ --------------------------------------------------------- 

Patch to address is attached.

CommentFileSizeAuthor
#2 3122917-2-drupal-9-code-deficiency.patch426 byteslisa.rae

Comments

lhridley created an issue. See original summary.

lisa.rae’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new426 bytes
gg24’s picture

Status: Needs review » Reviewed & tested by the community

LGTM. Changing status to RTBC.

  • gg24 committed c192fce on 8.x-3.x authored by lhridley
    Issue #3122917 by lhridley, gg24: New Drupal 9 Deprecated Code Report
    
gg24’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch @lhridley.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.