[wp-trac] [WordPress Trac] #57742: Post date time not updating after Timezone change

WordPress Trac noreply at wordpress.org
Thu Nov 6 06:16:34 UTC 2025


#57742: Post date time not updating after Timezone change
-----------------------------------+---------------------------------------
 Reporter:  nazmulhudadev          |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  General                |     Version:  6.1.1
 Severity:  major                  |  Resolution:
 Keywords:  has-patch dev-         |     Focuses:  administration, rest-api
  feedback                         |
-----------------------------------+---------------------------------------
Changes (by vimalroy08):

 * keywords:  has-patch => has-patch dev-feedback
 * focuses:  administration => administration, rest-api
 * severity:  normal => major


Comment:

 I can confirm this issue still exists in the latest WordPress version
 (6.8.3 as of November 2025).
 When changing the timezone from Settings → General, previously published
 posts do not have their displayed post_date updated accordingly — only
 newly published posts reflect the new timezone.

 This can create confusion for editors working across regions, visitors
 reading the articles, and even affect the accuracy of event or incident
 timestamps — since the post list, REST API responses, and theme functions
 like the_time() or get_the_date() still reflect the old offset until each
 post is manually updated.

 I’ve tested this on a clean install with no plugins and default theme
 (Twenty Twenty-Five), and the behavior is consistent.

 It seems the proposed patches from @nazmulhudadev and @sakibmd are still
 relevant and fix the issue. Can we please get a review or update on
 whether this can be merged into core?

 Environment tested:

 WordPress : 6.8.3
 Web server : Apache (also on nginx/1.26.1)
 PHP version : 8.3.24 (Supports 64bit values) (also on 8.2.27 (Supports
 64bit values))
 PHP SAPI : litespeed
 Database Extension : mysqli
 Server version : 10.11.14-MariaDB (also in 8.0.35)
 Client version : mysqlnd 8.3.24 (also in mysqlnd 8.2.27)

 Tested changing from UTC+4 (Dubai) to EDT (UTC-4)

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


More information about the wp-trac mailing list