Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4203

Display timezone on user profile when configured in Moodle

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0
    • 4.1.0
    • Users
    • Hide

      This issue only needs to be tested in 1 device.

      Please notice that the checks performed to display some fields are different in LMS than in app. In LMS you'll see the timezone with most users, but in the app you only see it if you have the capability 'moodle/user:viewalldetails'. I opened MDL-77468 to make it more consistent.

      Test in 4.2 site

      1. Login in our master site as admin or as a user with the capability 'moodle/user:viewalldetails' granted.
      2. Go to messaging, open a conversation with one of our regular users, open the top-right menu and click "User info".
      3. Click Details. Check that you can see the timezone (it will probably be Europe/Madrid).
      4. Go back to the root of messaging and press the search icon at the top.
      5. Search "China".
      6. Select the user "China Timezone User", open the top-right menu and click "User info".
      7. Click Details. Check that you can see the timezone and it's "Asia/Shanghai".

      Test previous version

      1. Login in a 4.1 or older site as admin or as a user with the capability 'moodle/user:viewalldetails' granted.
      2. Open any user profile. Check that the timezone is not displayed.
      Show
      This issue only needs to be tested in 1 device. Please notice that the checks performed to display some fields are different in LMS than in app. In LMS you'll see the timezone with most users, but in the app you only see it if you have the capability 'moodle/user:viewalldetails'. I opened MDL-77468 to make it more consistent. Test in 4.2 site Login in our master site as admin or as a user with the capability 'moodle/user:viewalldetails' granted. Go to messaging, open a conversation with one of our regular users, open the top-right menu and click "User info". Click Details. Check that you can see the timezone (it will probably be Europe/Madrid). Go back to the root of messaging and press the search icon at the top. Search "China". Select the user "China Timezone User", open the top-right menu and click "User info". Click Details. Check that you can see the timezone and it's "Asia/Shanghai". Test previous version Login in a 4.1 or older site as admin or as a user with the capability 'moodle/user:viewalldetails' granted. Open any user profile. Check that the timezone is not displayed.
    • MOODLE_401_STABLE
    • MOODLE_402_STABLE
    • Moodle App 4.2.0

      This was added to 4.1 and it will nice to have it supported on the app, see MDL-72458

      The checks to decide whether this field should be displayed or not aren't consistent between LMS and WebServices, the WebServices are more restrictive. This means that it's quite likely that this field is visible in LMS but not in the app. I opened MDL-77468 to make it more consistent, but this area was described as a "giant mess" by Jake in another issue so I don't think this will change soon.

      In any case, we'll display the timezone in the app if we receive it so it will work for the users that have the right capability. And when MDL-77468 is fixed we won't need to change anything in the app.

            dpalou Dani Palou
            jleyva Juan Leyva
            Noel De Martin Noel De Martin
            Isabel Renedo Rouco Isabel Renedo Rouco
            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.