[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
Thu Jul 3 15:52:32 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:                     |     Focuses:
-------------------------------+------------------------------

Comment (by butesa):

 I can make the dot appear with this change:


 {{{
 --- a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
 +++ b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
 @@ -292,6 +292,7 @@
                         $args['date_query'][] = array(
                                 'after'  => $request['after'],
                                 'column' => 'post_date',
 +                               'inclusive' => true,
                         );
                 }
 }}}

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


More information about the wp-trac mailing list