WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#49794 closed defect (bug) (invalid)

Impossible to schedule a post at 00:00:00

Reported by: arena Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: administration Cc:

Description

I am struggling to get a post scheduled at 00:00

Apparently this is impossible ! ?

Attachments (7)

Capture.PNG (23.1 KB) - added by arena 8 months ago.
scheduling
Apr03.PNG (41.5 KB) - added by arena 8 months ago.
April 3rd
Apr4.PNG (31.0 KB) - added by arena 8 months ago.
April 4th
[534] 2020-04-05 12_00 PM.PNG (32.7 KB) - added by arena 8 months ago.
(1) scheduling a post
[534] 2020-04-05 12_00 PM (2).PNG (15.6 KB) - added by arena 8 months ago.
(2) post scheduled
posts.png (32.2 KB) - added by arena 8 months ago.
(3) list of scheduled posts and tooltips
wp_cron.PNG (11.1 KB) - added by arena 8 months ago.
(4) in wp_cron (personal development but the other posts are coherent )

Download all attachments as: .zip

Change History (18)

@arena
8 months ago

scheduling

#1 @arena
8 months ago

or even at 00:01

#2 @Otto42
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

There is no 00:00 when you are using AM or PM.

That's a 12 hour clock, it goes from 1 to 12. Note the AM and PM buttons next to the time.

12:59 PM transitions to 1:00 AM.

#3 @arena
8 months ago

ok so Day 00:00 is Day-1 12:00 pm

great !

sorry for disturbing !

#4 follow-up: @arena
8 months ago

Locally it is 13:46 (Paris timezone)

when i schedule same day (3rd Apr) at 12:00 pm the schedule button does not show up
when i schedule day+1 (4th Apr) at 12:00 pm the schedule button shows up

@arena
8 months ago

April 3rd

@arena
8 months ago

April 4th

#5 in reply to: ↑ 4 @Otto42
8 months ago

Replying to arena:

Locally it is 13:46 (Paris timezone)

when i schedule same day (3rd Apr) at 12:00 pm the schedule button does not show up
when i schedule day+1 (4th Apr) at 12:00 pm the schedule button shows up

Yes, because you cannot schedule something for the past.

12:00 AM is the first minute of every day. It's midnight. It's 00:00 in 24 hour notation.

So, April 3rd 12:00 PM would be noon, which was 1:46 ago your time.

April 4th 12:00 PM would be the next day's noon, still in the future.

Edit: Sorry, you confused me with your numbers here. I'm not used to converting to 24 hour time and back.

To put it simply:

  • 12:00 AM = 00:00
  • 1:00 AM = 01:00
  • 12:00 PM = 12:00
  • 1:00 PM = 13:00
  • 11:59 PM = 23:59

Does that help? The 11:59 PM to 12:00 AM switch marks the day change.

https://en.wikipedia.org/wiki/12-hour_clock

Last edited 8 months ago by Otto42 (previous) (diff)

#6 @arena
8 months ago

not sure this is how it works, here are some incoherence ...
screenshots (from trunk) following are ...

(1) scheduling a post
(2) post scheduled
(3) list of scheduled posts and tooltips
(4) in wp_cron (personal development but the other posts are coherent )

could it be alternative use of date_i18n() and wp_date() ?

@arena
8 months ago

(1) scheduling a post

@arena
8 months ago

(2) post scheduled

@arena
8 months ago

(3) list of scheduled posts and tooltips

@arena
8 months ago

(4) in wp_cron (personal development but the other posts are coherent )

#7 @arena
8 months ago

May be i misunderstood the whole thing
It has to be re_checked

#8 @arena
8 months ago

sorry read the wrong dates forget it definitely closed

#9 @arena
8 months ago

was confused because 11:00 am is 11:00 am and 12:00 am is 00:00 ... make sense ?

#10 @Otto42
8 months ago

Yes, I understand. The wikipedia article makes it more clear: https://en.wikipedia.org/wiki/12-hour_clock

But yes, 12am then 1am and so on, until 11am switches to 12pm. It's not what you would expect if you are not used to it.

#11 @arena
8 months ago

better explained on the french page with a paragraph on noon and midnight confusion

https://fr.wikipedia.org/wiki/Système_horaire_sur_12_heures#Correspondance

thank you for your time

Note: See TracTickets for help on using tickets.