Quiz Availability time not respecting site default time zone

Created on 21 May 2013, almost 12 years ago
Updated 13 December 2023, over 1 year ago

I've noticed the following problem. When setting a quiz's availability, the time the quiz is available from and to is UTC plus the offset of the regional time zone I have set for my site.

In my case, I'm in a timezone 9 hours ahead of UTC. I have this time set as default in my regional settings. However, when I set a quiz as being available from say, 5/21, it is not listed as being available from 0:00 hours (12 a.m.) on 5/21 but rather as being available from 9:00 - 9 hours later than what I want.

If I change my default timezone to UTC, then the quiz is listed as starting from 0:00 hours. But then this means all the site content is marked as being posted at UTC time, not the correct region time.

Is it possible to ensure the module respects the default site timezone when using the availability option?

πŸ› Bug report
Status

Needs review

Version

6.0

Component

Code - Quiz core

Created by

πŸ‡―πŸ‡΅Japan paul-c

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024