[wp-trac] [WordPress Trac] #63662: DateTimePicker in the post editor does not show posts that are published on midnight of first day of month

WordPress Trac noreply at wordpress.org
Tue Jul 8 19:38:05 UTC 2025


#63662: DateTimePicker in the post editor does not show posts that are published on
midnight of first day of month
-------------------------------+------------------------------
 Reporter:  butesa             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  6.8
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------------------

Comment (by websiteredev):

 = Patch Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/9201

 === Environment
 - OS: Windows 10 Build 19045
 - Web Server: PHP.wasm
 - PHP: 7.4.31
 - WordPress: 6.9-alpha-20250703.171513
 - Browser: Chrome Version 137
 - Theme: Twenty Twenty-Five 1.2
 - Active Plugins:
   - None

 === Steps

 1. Create a post scheduled for midnight (12:00AM) on August 1st, 2025.
 2. Create a post scheduled for midnight (12:00AM) on August 2nd, 2025.
 3. Go to create a new post and navigate to scheduling date/time selection
 menu.

 === Expected Results

 Blue dot shows under dates August 1st and August 2nd.

 === Actual Results

 ❌ No blue dot shown under date August 1st in the scheduling date/time
 selection menu.

 === Additional Notes

 By default, WordPress is set to UTC+0 for a time zone value, which is the
 value I used for my testing to get the failure condition. I'm able to get
 it to work if the site time zone is set to a UTC- value, but if its set to
 UTC+0 or above (like UTC+5), then it doesn't work properly. My expectation
 is that it should work regardless of the time zone set on the site, as
 long as the scheduled post is set for midnight on the 1st or later. Seems
 to be some issue with the way the code for this module is handling the
 time zone differential.

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


More information about the wp-trac mailing list