[wp-trac] [WordPress Trac] #44597: Scheduling posts adds wrong seconds as post_date
WordPress Trac
noreply at wordpress.org
Tue Jul 17 15:41:55 UTC 2018
#44597: Scheduling posts adds wrong seconds as post_date
--------------------------+-----------------------------
Reporter: katsar0v | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Whenever I schedule a random post on wordpress, for example I give the
date 2 August 2018 18:00, wordpress inserts the wrong seconds into the
database in post_date. post_date of the example given would be something
like `2018-08-02 18:00:22`. WordPress would add these 22 seconds, which is
wrong, because I have defined only hours and minutes in the GUI, so
seconds should not be just randomly defined.
Here is a database example:
[[Image(https://i.imgur.com/0KM1Jpw.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44597>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list