• Resolved Bri

    (@tinnyfusion)


    Hi there, another feature request ??

    Being from the UK, I do not like seeing the default date format in the admin Posts/Pages Date column (2024/03/15 at 23:44) so I normally add the following to my functions.php to change it to Monday March 11, 2024 at 11:44 PM using the following:

    // Set Date and Time to UK format within Posts and Pages columns
    /* ------------------------------------- */
    add_filter( 'post_date_column_time' , 'my_post_date_column_time' , 10 , 2 );
    
    function my_post_date_column_time( $h_time, $post ) {
        $h_time = get_post_time( 'l F j, Y \a\t g:i A', false, $post );
        return $h_time;
    }
    /* ------------------------------------- */

    It would be awesome if this was able to be toggled on then defined within the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature Request: Define Date & Time Format in Admin Posts and Pages Column’ is closed to new replies.