Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8054

Scheduler (RTL UI) - The locations of the hour and minutes dropdowns are incorrectly reversed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.11
    • Fix Version/s: None
    • Component/s: Module: Scheduler
    • Labels:
      None
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      Repro Steps
      1. Create an instance of a "Scheduler" activity in a course and enter it.
      2. Go to the "My appointments" tab.
      3. Click the "Add slots" button.
      4. Click the "Add repeated slots" option.
      5. Notice how the "Time range" field behaves.
      6. Change the user interface of Moodle to an Right-to-left (RTL) language.
      7. Notice how the "Time range" field behaves in RTL mode.

      Description
      It seems that in an RTL (Right-to-left) environment, the timing UI is the exact opposite of the the one in the LTR environment. Please see attached a relevant screenshot (Scheduler - Hours and Minutes - RTL vs LTR).

      Even in RTL environments, we still use the time format in the same way as in LTR environments - we read the time from left to right. Is it possible to swap the locations of the hour and minutes dropdowns in each relevant segment of the UI?

      Please note that the same issue happened in the "Attendance" plugin. I opened an issue in its bug tracker, and it seems that the issue was patched:
      https://github.com/danmarsden/moodle-mod_attendance/issues/432

      Please also note that it seems that the issue repros only in the "Add repeated slots" screen, and does not repro in the "Add single slot" screen.

        Attachments

          Activity

            People

            Assignee:
            bostelm Henning Bostelmann
            Reporter:
            AcquaAlta Acqua Alta
            Participants:
            Component watchers:
            Valery Fremaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: