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

html_writer::select_time does not respect the calendar type plugin

XMLWordPrintable

    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-52354-master
    • 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: )

      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.

        1. mod_data add entry.png
          64 kB
          Shamim Rezaie
        2. mod_data search.png
          74 kB
          Shamim Rezaie
        3. forum advanced search.png
          98 kB
          Shamim Rezaie

            rezaie9 Shamim Rezaie
            rezaie9 Shamim Rezaie
            Jun Pataleta Jun Pataleta
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.