[wp-trac] [WordPress Trac] #60184: Publication date 01/01/1970 is refused

WordPress Trac noreply at wordpress.org
Tue Sep 17 22:54:35 UTC 2024


#60184: Publication date 01/01/1970 is refused
--------------------------------------+-----------------------
 Reporter:  emmanuel78                |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  REST API                  |     Version:  6.4.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------
Changes (by drjosh07):

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


Comment:

 Test Report

 **Environment**
 - Server: Apache (Linux)
 - WordPress: 6.7-alpha-58576-src
 - Browser: Chrome 128.0.6613.138
 - OS: Mac
 - Theme: Twenty Twenty-Four
 - Plugins: None activated

 **Steps to Reproduce**
 1. Create a new post
 2. Set the publish date to be January 1st, 1970 at 12:00 a.m.
 3. Attempt to publish the post.
 4. A red banner will appear stating that "Updating failed. Invalid
 parameter(s): date"
 5. Confirmed seeing the issue when the error was reported.

 **Results**
 - Issue reproduced. ✅
 - Confirmed post create at January 1st, 1970 at 12:00 a.m. was successful.

 Applied PR from GitHub.

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


More information about the wp-trac mailing list