Forums

[resolved] Date stamp wrong on all posts after a specific date. (6 posts)

  1. ProtusMose
    Member
    Posted 5 years ago #

    protusmose.com

    For some reason, every post I have made after May 5, 2007 has had that as the date. It shows right when I'm on the write screen or go in to edit it, but when published, it says May 5, 2007. It shows different days of the week, but the days are wrong. For example, the last item was posted yesterday; however, it says Wednesday.

    Is there any way to fix the date stamps?

  2. MichaelH
    Volunteer
    Posted 5 years ago #

    Please consider pasting the pertinent code from your theme's index.php file showing the code that displays the date.

    Paste the code at http://wordpress.pastebin.ca and report the link back here.

  3. ProtusMose
    Member
    Posted 5 years ago #

  4. ProtusMose
    Member
    Posted 4 years ago #

    Does anyone have any ideas?

  5. MichaelH
    Volunteer
    Posted 4 years ago #

    Sorry--I missed this:

    Change this:

    <?php the_time('l ~ F m, Y') ?>

    to something like:

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

    Variations of the formatting can be seen at Formatting_Date_and_Time.

  6. ProtusMose
    Member
    Posted 4 years ago #

    That fixed it instantly.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic