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

Database: Date field not autoselecting month when editing

    XMLWordPrintable

    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).

        Attachments

          Activity

            People

            • Assignee:
              marina Marina Glancy
              Reporter:
              aborrow Anthony Borrow
              Integrator:
              Aparup Banerjee
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

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