Forums

Iam getting Invalid date when writing post (7 posts)

  1. bsivaranjani
    Member
    Posted 3 years ago #

    When my client write a post.
    The post is displaying invalid date.
    When writing a post, date is taken automatically.
    Iam not having any control to edit the date.
    Please help how can I edit the date.

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    When you do Manage-Posts and click on the post with the wrong date, then to the right there is something similar to:

    Published on:
    October 29, 2008 at 11:20 am Edit

    Just click on that Edit link.

  3. graysonrobbins
    Member
    Posted 2 years ago #

    Maybe I'm missing something! For all posts, the date always displays the last day on the month.

    I'm an old time Joomla user that just installed WP last week. My posts on June 26th showed June 30th! All my posts in June showed June 30.

    Then July hits, I begin posting yesterday and the blog shows the post date of July 31st!

    As instructed above, my post/publish dates are correct. Just what shows "live" on the blog default to the last day of whatever month!

    help!

  4. Samuel B
    moderator
    Posted 2 years ago #

    what happens if you switch themes?

  5. graysonrobbins
    Member
    Posted 2 years ago #

    OK, some headway ....

    I'm using Lightpath theme. In the "main Index template", I changed the 't' to 'd' of the following code:

    <div class="ehleft">
    <div class="dd"><?php the_time('d'); ?></div>
    <div class="mo"><?php the_time('M'); ?></div>
    </div>

    This may have done the trick.

  6. graysonrobbins
    Member
    Posted 2 years ago #

    OK, it fixed it in the main blog view. However, when checking in the category view, it still shows up as the last day on the month. Any suggestions here?

  7. graysonrobbins
    Member
    Posted 2 years ago #

    Ok, I've gone through all template files and replaced 't' with 'd' in all files. Categories now display correctly. The 2ns post down in the main blog still shows an inaccurate date but is correct under the category!
    Maybe I missed one? Seems I get closer but still chasing my tail!

Topic Closed

This topic has been closed to new replies.

About this Topic