There is a bug related to date time. when I am trying to publish an entity on the same day, setting the time to some value incurs an error message "The 'publish on' date must be in the future". For example, set the time to '17:00:00' or '17:49:00' will incur the error, but set the time to 18:00:00 or 17:49:59 is okay.

CommentFileSizeAuthor
#3 status report timecheck.png167.88 KBjonathan1055
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

twang created an issue. See original summary.

twang’s picture

Title: Can't publish on the same day before 18:00:00 » Got error when set publish on time to some values
jonathan1055’s picture

Priority: Major » Normal
FileSize
167.88 KB

Hi Twang,

Thanks for your post and sorry to hear you are having a difficulty. The error you are getting is designed to prevent users accidentally picking a date in the past, and it does work in general. The problem you have could be a timezone issue. What was the time when you gave the example above?

Also could you visit /admin/reports/status and look for Time Check. This is a scheduler addition which tells us useful info. I have attached an example for a non-GMT user. Could you attach what your report shows, then we'll go from there.

Jonathan

jonathan1055’s picture

Category: Bug report » Support request
Status: Active » Closed (works as designed)

No response in two and a half months, so closing this now. Happy to help if you still have a problem - but please see my questions above and post a screen-shot of your timecheck page. Also take a look at #2652036: Field widget set incorrectly after Scheduler module re-install which can give the same error message.