Tutor: TIME_ZONE setting not being applied (LMS container remains in UTC)

Hello community,

I’m having a critical issue where the TIME_ZONE setting in Tutor is not being applied to my Open edX platform. My goal is for student-facing deadlines to be displayed correctly in our local timezone (CST), but they are showing incorrect times.

What I’ve Done:

  1. Set TIME_ZONE: "America/Mexico_City" in my config.yml using tutor config save.

  2. Forced a complete image rebuild with tutor images build --no-cache openedx to make sure the setting was applied without using old layers.

  3. Relaunched the entire platform using tutor local launch.

  4. Tested a course deadline with a student account, and the time displayed to the student is incorrect.

Diagnostic Check: The root cause seems to be that the container itself is not adopting the timezone. When I run tutor local run lms date, the output is still in UTC, not in CST as it should be.

My Question: Why would the LMS container remain in UTC after the TIME_ZONE is correctly set in config.yml and the image is rebuilt with --no-cache?

Is there another configuration file, an environment variable, or a step I am missing to make the Tutor-built Docker container adopt the timezone from the configuration? Or is there a different, recommended method for changing the timezone that I should be using instead?

Thank you for your help.

Hi @Edwin75206 , I’m unfamiliar with this. Could you please specify which version of Tutor you are running?

i wonder if this might be a likely culprit?
TIME_ZONE_DISPLAYED_FOR_DEADLINES = 'UTC'

I believe the timezone used by LMS is the user’s timezone, which users select on their Account page.

It might use UTC if that value is null (I’m not quite sure).

Sure, I’m using tutor, version 19.0.2

Hi,
The time zone section of OpenX has always been a problem.

Some parts of the course show the time zone, while others say UTC or another zone.

And it doesn’t matter if you use the correct time zone in your profile.

I’ve attached screenshots of my profile, the courseline, and the content. All with different times displayed.