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

Calendar block is messed up when type of course calendar prefer and user preference calendar are different

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5, 3.5.2, 3.9.1
    • None
    • Calendar
    • MOODLE_35_STABLE, MOODLE_39_STABLE
    • 4

    Description

      Hi dears

      When the course prefer calendar set to Jalali, and user preference calendar set to Gregorian, the Calendar block is messed up.

      Also when I click on a month I get such error message:

      invalidparameter

      مقدار نامعتبر در پارامتر

      File:/lib/externallib.php

      Line:315

      Stack trace:Missing required key in single structure: year Error code: invalidparameter * line 315 of /lib/externallib.php: invalid_parameter_exception thrown * line 223 of /lib/externallib.php: call to external_api::validate_parameters() * line 59 of /lib/ajax/service.php: call to external_api::call_external_function() Missing required key in single structure: year Error code: invalidparameter * line 315 of /lib/externallib.php: invalid_parameter_exception thrown * line 223 of /lib/externallib.php: call to external_api::validate_parameters() * line 59 of /lib/ajax/service.php: call to external_api::call_external_function()

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            moien.abadi Moien Abadi
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m