Forums

edit posts list now has days from instead of dates (2 posts)

  1. rboatright
    Member
    Posted 3 years ago #

    My editors are begging me to change 2.7's edit posts screen from "6 days from now" back to the DATE that the post is scheduled for.

    Does anyone know a simple way i can do that? I've got angry editors. They want to see if something is scheduled for "March 15" and the darned thing says "42 days from now." This is -annoying- is it not configurable?

    Who's idea was that anyway?

  2. rboatright
    Member
    Posted 3 years ago #

    ok, I patched it in wp-admin/includes/template.php

    if ( ( 'future' == $post->post_status) ) {
    	if ( $time_diff <= 0 ) {
    /*		$h_time = sprintf( __('%s from now'), human_time_diff( $time ) );  */
    		$h_time = $t_time;
     	} else {
     		$h_time = $t_time;
    		$missed = true;
    	}

    and that fixes it. I'm still not sure why this wasn't an OPTION tho.

Topic Closed

This topic has been closed to new replies.

About this Topic