[wp-trac] [WordPress Trac] #51761: Inconsistent displayed date in get_calendar()

WordPress Trac noreply at wordpress.org
Fri Nov 13 16:19:41 UTC 2020


#51761: Inconsistent displayed date in get_calendar()
-------------------------------------------------+-------------------------
 Reporter:  labbit                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Date/Time                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch has-screenshots          |     Focuses:
  reporter-feedback                              |
-------------------------------------------------+-------------------------

Comment (by labbit):

 Please check the new attachments.
 Running Site Health shows correct timezone, also I did the following
 greps:

 grep -ir "date_default_timezone_set" wp-content/themes

 which returned nothing.
 And then

 grep -ir "date_default_timezone_set" wp-content/plugins

 which returned the screenshot I attached.
 There are no relevant overrides of timezone.

 The calendar is working only if I set Local time to UTC in WordPress
 general settings.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51761#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list