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

Database: Date field not autoselecting month when editing

    Details

    • Testing Instructions:
      Hide

      1) Login in as teacher (admin, manager)
      2) Create an instance of a database activity module
      3) Add a date field to the form
      4) Add an entry with a date which is not in January
      6) Edit an entry: Make sure that date shows the same you entered (previously month reset to January)

      Show
      1) Login in as teacher (admin, manager) 2) Create an instance of a database activity module 3) Add a date field to the form 4) Add an entry with a date which is not in January 6) Edit an entry: Make sure that date shows the same you entered (previously month reset to January)
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
      git@github.com:marinaglancy/moodle.git
    • Pull Master Branch:
      wip-MDL-28352-master

      Description

      When adding a record to the database using a date field, the default is to have the selected items set for today's date. This is not working if the user's timezone is set (not using system timezone).

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12