• I have the exact same issue as specified here: https://www.ads-software.com/support/topic/plugin-drafts-scheduler-bug-random-posting-mode-only-schedules-am-hours

    Here’s are the settings I’ve used which present the issue…

    Post Randomly (Surprise Me: Checked)
    Post up to 1 posts per day
    Randomly after: 15:00
    And Before: 20:00

    When my posts are scheduled, they are always scheduled from 3:00AM to 8:00AM, instead of 3pm to 8pm as desired. Any PM hours I set, end up always being scheduled during their equivalent AM periods instead.

    I also tried to change my own time settings in the WordPress settings to 24-hour format, but this did not resolve this issue. It looks like somewhere along the way Drafts Scheduler isn’t resolving the correct AM/PM time period.

    I have tried changing my date format in dashboard/settings/general to G:i:s as suggested in the linked thread above – unfortunately the problem persists.

    instead of setting it to g:i:s (12 hours format)
    just change it to G:i:s (24 hours format)

    I think you only have to change all parts of g:i:s to G:i:s then it works correctly.

    Any ideas?

    Cheers,
    Alex

    https://www.ads-software.com/plugins/drafts-scheduler/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Rose

    (@talus)

    Hi Alex:

    This is a 3 year old issue that was resolved – as noted. Have you verified your server time is correct?

    Thread Starter alexd91

    (@alexd91)

    Hi Jeff,

    Impressive response time ?? I have been trying to get this working for that last hour by playing around with my time settings, deleting and reinstalling etc.

    Within 1 minute of posting on here I have resolved it (or at least patched it for my install).

    What I did.

    1. Changed time format in Dashboard/Settings/General to G:i:s

    2. Dived into Plugins/Editor, cracked open drafts-scheduler/draft-scheduler.php and found and replaced all the g:i:s with G:i:s

    I’m not sure if this was the solution suggested in the original thread that I misinterpreted but this seems to work for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only schedules publishing for AM hours’ is closed to new replies.