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

Time format is hardcoded in files/index.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.9.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Affected Branches:
      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

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              mina Nicolas Martignoni
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: