[wp-trac] [WordPress Trac] #62400: RSS Block showing date in UTC when pubDate in feed is not

WordPress Trac noreply at wordpress.org
Thu Nov 14 06:08:48 UTC 2024


#62400: RSS Block showing date in UTC when pubDate in feed is not
----------------------------------------------+----------------------------
 Reporter:  kaitohm                           |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
                                              |  Review
Component:  Date/Time                         |     Version:  6.7
 Severity:  normal                            |  Resolution:
 Keywords:  has-testing-info gutenberg-merge  |     Focuses:
----------------------------------------------+----------------------------

Comment (by Mamaduka):

 Already replied on the Gutenberg issue, but the same problem probably
 affects the legacy RSS widget - https://github.com/WordPress/wordpress-
 develop/blob/a27e6a8ecd5279a45e47ef88d048643740d07b5a/src/wp-
 includes/widgets.php#L1654-L1660.

 @kaitohm, can you clarify the expected behavior in the description?


 I expect that the RSS block/widget will display dates in the format
 specified in WP, but the date will be in the origins timezone. Unless I'm
 missing something, the publishing date shouldn't be relative to the WP
 configuration.

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


More information about the wp-trac mailing list