On edit.php, the main content is a list of posts, with columns including the published date.
I’d like to change the date format of the published date just on the admin page. In this case, I don’t want to change what the users see; I want to change what the admin sees.
I want to add the day of the week to the published/scheduled date, because I’m planning to publish “Every Tuesday, at least,” and want to make sure I’ve scheduled posts correctly.
After searching, the best route seems like it would be to create a custom field, but if there’s a more subtle way to do this, I’d prefer to not install the custom field plugin.
edit: thanks to Bainternet’s comment, I see that I already have custom fields (the option was just hidden by default). And, I see custom fields are not what I want. The data already exists; I just want to format it differently on the screen.
Add a column to the post edit screen and format the date however you like.
Remove the default Date column.
EDIT here’s the code to put inside your theme’s
functions.php
file:EDIT 2 added additional code to add publish status and make the column sortable, this should now be a complete copy of the original date column.
Thanks to Scribu for his tutorial on sortable columns
You can simply use the filter post_date_column_time: