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

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5, 3.5.2, 3.9.1
    • Fix Version/s: None
    • Component/s: Calendar
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_39_STABLE
    • Story Points:
      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            moien.abadi Moien Abadi
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            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