Check the template that is displaying those posts (e.g. your theme’s index.php) and see how the_time() is being used.
Related:
Stepping Into Template Tags
Stepping Into Templates
Template Hierarchy
So i found a where my theme uses ‘the_time’ and it doesn’t look that simple. Here’s what the code looks like:
<?php the_time(get_option(‘theme_date_format’)) ?>
I’ve looked through all the php and css files and cannot find ‘theme_date_format’ anywhere. I have posted a question on the forums where i got the theme, but no response yet.
A little more odd information:
1. The posts say they were all posted on 10-10, but they say different actual days(Monday, Tuesday, Wednesday…). All of these posts were made on the same day within 5 minutes of each other.
2. I checked the DB for the posts and they all say the correct post date within the DB of 10-25.
Hope you this helps, really need to get this fixed.
digging a little deeper
1. The theme_date_format is a line within the DB contained in the WP_Options table for my site. It has the value of l F n, Y which is what i want.
2. I replaced the ‘the_time()’ code to just say “the_time(‘l F n, Y’). This had no change on my site.
3. I change ‘the_time()’ code again to say “the_time(‘F n, Y’) and it dropped the day from the post. However the date is still displayed incorrectly. So the site is pulling the correct format of the date, just not the correct information.
Where should i look now?
Please paste all the code from the theme template file (probably index.php) that is displaying those posts into a pastebin such as wordpress.pastebin.com, and report the link back here. Maybe someone can spot your problem. Thanks.