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

Human-readable time periods in SCORM reports

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
    • Fix Version/s: 1.9.9
    • Component/s: SCORM, Usability
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Currently SCORM reports exhibit time periods notation format, which is understandable but yet not so user-friendly: P1DT1H2M32.1S for example. Using some complex regular expressions, we can replace this notation by usual one: 1 day 1 hour 2 minutes 32.1 sec. The attached patch does this by adding a formatter function and calling it in every place where report prints out date/time periods. The patch is applied with -p0.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    8/Jun/10