Time Display Issue in Discussion Posts(MFE) After Changing TIME_ZONE

Hello :raised_back_of_hand: ,

I’ve encountered a strange issue related to time display in the discussion posts when using a custom timezone in production.

In both LMS and CMS settings, I set:

TIME_ZONE = "Asia/Manila"
CELERY_TIMEZONE = "Asia/Manila"

After making this change, I’ve noticed that when I create a post or reply in discussions, the timestamps are not correct. For example:

After this change, whenever I create a new discussion post, the timestamp shows as “7 hours ago” instead of something like “just now”.

  • A newly created post shows “7 hours ago” instead of “just now.”
  • Sometimes, even after making a reply or referencing a post, the displayed time seems to go backward — from “7 hours ago” to “6 hours ago”, like it’s shifting in reverse.

However, if I revert the settings back to:

TIME_ZONE = "UTC"
CELERY_TIMEZONE = "UTC"

Everything works correctly and the time displayed reflects the actual post time.

Has anyone else experienced this issue when using a non-UTC timezone like Asia/Manila?

Any suggestions or guidance would be appreciated.

@dave - not sure who to tag here but is there someone from the Forums team you could suggest to provide some advice?