WordPress.org

Ready to get started?Download WordPress

Forums

Post Timestamp Bug in 2.3.1? (7 posts)

  1. affiliatetip
    Member
    Posted 6 years ago #

    I frequently write posts for future days, and since upgrading to 2.3.1, I've had an issue with post timestamp.

    After I make a post, the post has the correct timestamp, but then when I look at my blog later on, the post assumes the timestamp of when I made it.

  2. MichaelH
    Member
    Posted 6 years ago #

    What template tag (or code) are you using to display the time on the blog itself?

  3. affiliatetip
    Member
    Posted 6 years ago #

    It's the default for the Cutline theme: http://cutline.tubetorial.com/

    <?php the_time('F jS, Y') ?>

    My blog: http://blog.affiliatetip.com/

  4. MichaelH
    Member
    Posted 6 years ago #

    The Timestamp on a future post, is the Timestamp you use to tell WordPress to 'publish' that post at a future time.

    If I make a future post for tomorrow, when I edit that Post Timestamp and set it to tomorrow's date, that will be the date of the post that gets displayed using the_time with code like this:

    Posted: <?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?>

  5. affiliatetip
    Member
    Posted 6 years ago #

    It initially gets displayed with the selected future time. But then changes.

  6. MichaelH
    Member
    Posted 6 years ago #

    I'm not seeing that at 2.3.1.

    How is the time changing? By an hour, minutes, days?

  7. affiliatetip
    Member
    Posted 6 years ago #

    The time will initially display correctly as the time in the future when I want the post to go out.

    Later on, I see that the post has gone live and it has a timestamp for the time I published it.

Topic Closed

This topic has been closed to new replies.

About this Topic