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

samigo: If user time zone differs from server time zone, available/due/late dates set incorrectly on edit > save

    Details

    • Test Plan:
      Hide
      1. Log in as instructor, go to Home > Preferences > Time Zone and set your time zone to a different time zone than server time (on https://trunk-mysql.nightly.sakaiproject.org/portal I used Chicago time).
      2. Create a site with Tests & Quizzes.
      3. Create a quiz with at least one question.
      4. Edit Settings on the quiz and set the due date, then Save.
      5. Edit Settings again, note that the due date has changed to reflect the different time zone (it's showing the date as if you set it to server time, but translating to your user time zone).  Click Save.
      6. Edit Settings again, note that the due date changed again.  Save.
      7. Each time you try to edit settings and Save, the due date changes.
      Show
      Log in as instructor, go to Home > Preferences > Time Zone and set your time zone to a different time zone than server time (on https://trunk-mysql.nightly.sakaiproject.org/portal I used Chicago time). Create a site with Tests & Quizzes. Create a quiz with at least one question. Edit Settings on the quiz and set the due date, then Save. Edit Settings again, note that the due date has changed to reflect the different time zone (it's showing the date as if you set it to server time, but translating to your user time zone).  Click Save. Edit Settings again, note that the due date changed again.  Save. Each time you try to edit settings and Save, the due date changes.

      Description

      When an instructor has their time zone set differently from server time, and they edit quiz settings, Samigo converts the available, due, and late submission date/time to match the user time zone. However, on save, it sets that time as if it were in the server time zone, resulting in an incorrect date settings.

      Here's a video demonstrating an instructor with user time zone set to CST on the nightly server which is in EST attempting to save changes to a quiz due date and getting a new due date, an hour earlier, every time they save: https://www.screencast.com/t/s8p9vBlJc

      This is a serious problem for study abroad instructors (or any distance instructor) attempting to set dates for quizzes.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  raulsv Raúl Sánchez Vegas
                  Reporter:
                  rainribbon Tiffany Stull
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Source Code