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

Populate timecreated field in mdl_course table for front page (course 1) on fresh install

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.11, 2.0.3
    • Fix Version/s: 2.0.3
    • Component/s: Course
    • Labels:
    • Environment:
      LAMP
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      It would be useful if, during install of a fresh Moodle, the timecreated value for Moodle's front page was set to now() and not left at 0. The reason for this is I am creating reports to assist with the hosuekeeping of our thousands of courses and using the date parsing functions, it shows as 1st Jan, 1970.

      (This is of course very easy to deal with, which is why I have marked this as a trivial improvement.)

      Cheers.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            skodak Petr Skoda added a comment -

            Thanks for the report, it should be fixed in the next weekly build.

            petr

            Show
            skodak Petr Skoda added a comment - Thanks for the report, it should be fixed in the next weekly build. petr

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/May/11