WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Time format in manage posts (3 posts)

  1. kanngard
    Member
    Posted 8 years ago #

    I've changed the date and time format in the general options page to H:i:s (24 hour format), but the list of posts in the Manage/Posts page presents the times in 12 hour (AM/PM) format. Is this by design or have I missed some setting?

  2. Beel
    Member
    Posted 8 years ago #

    I don't believe the display in the admin section is affected by the options setting as it is overridden. You will probably have to edit the core files (edit.php) to make a change.

    [Edit]
    Yep, the line is:
    <td><?php the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td>

  3. kanngard
    Member
    Posted 8 years ago #

    As I suspected. Thanks Beel!

Topic Closed

This topic has been closed to new replies.

About this Topic