• So my dates are totally screwed up. If you scroll through my blog you will see many posts on the same day, which I rarely do. And besides that, the dates are simply wrong with no discernable pattern. My most recent post was posted earlier today, yet it displays as November 11.

    I am currently using the_time() to avoid a problem I was having earlier of dates disappearing, although I tried using the_date() and had the same results.

    Has anyone had a similar problem to this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • have you tried to switch to the default theme (Twenty Ten) to exclude theme specific issues?

    also, you could try and deactivate all plugins to check if any one is causing the problem.
    if this fixes the issue, re-activate one plugin after the other to see which one is triggering the problem.

    a link to your site might help to illustrate the ‘randomness’ of your dates.

    Thread Starter colindunn

    (@colindunn)

    I can definitely narrow it down to my theme. When I tested the site in Twenty Ten it was fine.

    My site address is: http://colindunn.com/blog

    you could check the parameter of ‘the_time()’ (ref: http://php.net/manual/en/function.date.php )
    and also the setting in the ‘dashboard – general – date format’

    to check if the date is stored properly in the database, try and add a
    <?php echo $post->post_date; ?> just before or after the line with ‘the_time()’

    or paste the code of index.php ( the frontpage template) into a http://wordpress.pastebin.com/ and post the link to it here.
    someone might then have some suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date Randomly Not Correct’ is closed to new replies.