Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17139

Time format is hardcoded in files/index.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.9.3
    • None
    • None
    • None
    • MOODLE_19_STABLE

    Description

      Lines 783 and 807 of files/index.php contains a hard-coded string format:

      $filedate = userdate(filemtime($filename), "%d %b %Y, %I:%M %p");

      This should be changed to

      $filedate = userdate(filemtime($filename), get_string("strftimedatetime"));

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              mina Nicolas Martignoni
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: