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

html_writer::select_time does not respect the calendar type plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.9, 2.7.10, 2.7.11, 2.8.7, 2.8.8, 2.8.9, 2.9.1, 2.9.2, 2.9.3, 3.0
    • Fix Version/s: 2.9.4, 3.0.2
    • Component/s: Forms Library
    • Testing Instructions:
      Hide
      1. Install a new calendar type plugin (for example the Persian calendar)
      2. Update you profile and use the installed calendar as your preferred calendar
      3. Create a database activity module in a course and add a "date" type field to it
      4. Visit the add entry page of the database. The date field created earlier should be displayed correctly (ref: )
      5. Visit the "view list" page of the database and select the advanced search check box
      6. The date fields of the search form should be displayed correctly (ref: )
      7. Create a forum activity in a course and go to the forum you created
      8. Click on the "Search forums" button at top right to go to the advanced search page
      9. The date fields of the search form should be displayed correctly (ref: )
      Show
      Install a new calendar type plugin (for example the Persian calendar ) Update you profile and use the installed calendar as your preferred calendar Create a database activity module in a course and add a "date" type field to it Visit the add entry page of the database. The date field created earlier should be displayed correctly (ref: ) Visit the "view list" page of the database and select the advanced search check box The date fields of the search form should be displayed correctly (ref: ) Create a forum activity in a course and go to the forum you created Click on the "Search forums" button at top right to go to the advanced search page The date fields of the search form should be displayed correctly (ref: )
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-52354-master

      Description

      The html_writer::select_time does not respect the calendar type plugin that is in use. It always assumes that the calendar is Gregorian which may not be true.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jan/16