[wp-trac] [WordPress Trac] #63493: Timezone string doesn't return in REST API /wp-json/wp/v2/settings

WordPress Trac noreply at wordpress.org
Wed May 28 13:41:02 UTC 2025


#63493: Timezone string doesn't return in REST API /wp-json/wp/v2/settings
-------------------------------------------------+-------------------------
 Reporter:  phakphumvis                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-test-info needs-     |     Focuses:  rest-api
  testing needs-unit-tests close                 |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch needs-test-info needs-testing needs-unit-tests =>
     has-patch needs-test-info needs-testing needs-unit-tests close


Comment:

 Agreed with the above. That's why clients like Gutenberg check for both
 settings. i.e. if there's no timezone string, one should fall back to the
 offset.

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


More information about the wp-trac mailing list