Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42828

T&Q: If preferred time and local time are different, the time is not converted correctly

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Test1:

      1. Set the preferred time zone to US Eastern (Home > Preferences > Time Zone)
      2. Set the computer (local) time to anything but eastern
      3. Create a quiz, setting available and due dates/times
      4. Publish the quiz - check times on "publish" page
      5. Log in as a different instructor with preferred and local time set to US Eastern - are the times correct?

      Test2: 

      1. Set the preferred time zone to anything other than US Eastern 
      2. Set the computer (local) time to US Eastern

      Repeat steps 3-5 from above

       

      Show
      Test1: Set the preferred time zone to US Eastern (Home > Preferences > Time Zone) Set the computer (local) time to anything but eastern Create a quiz, setting available and due dates/times Publish the quiz - check times on "publish" page Log in as a different instructor with preferred and local time set to US Eastern - are the times correct? Test2:  Set the preferred time zone to anything other than US Eastern  Set the computer (local) time to US Eastern Repeat steps 3-5 from above  

      Description

      Austin brought up a test case in SAK-42812 and SAK-40226. If the user's preferred time and the user's local time are in different time zones, the times get out of whack on the assessments page.

      I think one question that needs to be answered is if the preferred and local time are different, which time should actually be used when creating a quiz?

      1_mham_mtn_local_est_preferred.mp4

      This video is when the instructor's local time is set to mountain time, but preferred time is set to eastern time. At first, things look correct, times are saving correctly, updating correctly, and display as set on the assessments page. 

      Going into the other computer as a different instructor, local, preferred and server time are all eastern, the times set by the instructor in mountain time are actually displaying as the same time for the instructor in the eastern time. (1a_different_instructor_est.mp4)

      2_mham_est_local_mtn_preferred.mp4

      Instructor's local time is eastern, but preferred time is set to mountain time. Now the times on the "publish" page display "mst" behind the available and due times, but the times are actually eastern time.

      If the user's preferred time zone and the local time zone are the same, this is working correctly now.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration