Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter chisss

    (@chisss)

    Nevermind, Found the code.

    If you open the mdocs-file-info-small.php in my case since I am using the “small” theme of Memphis docs, you will find a line that says:
    $last_modified = gmdate(‘d-m-y H:i’,$the_mdoc[‘modified’]+MDOCS_TIME_OFFSET);

    It’s the 9th line of code or so.

    If you chante that to
    $last_modified = gmdate(‘m-d-y h:ia‘,$the_mdoc[‘modified’]+MDOCS_TIME_OFFSET);
    it will change the format to Month, Day and Year and ALSO made the change to not display military time and ALSO to add am/pm at the end.

    My guess is this will be overwritten if an update installs but hopefully the next update will include the option to make this a change from the settings page.

    Plugin Author bhaldie

    (@bhaldie)

    Thanks I will add the ability to change the date format on the next version. You may need to update your format again but after that you will be good to go.

    Thread Starter chisss

    (@chisss)

    Thanks I appreciate that!

    I can confirm that this works. We’re tracking this change in BaseCamp so we can revert before the next version of Memphis Docs comes out that solves this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Date format’ is closed to new replies.