Timezone things

Hi!
I can’t find how timezone is managed in 9.x version.
When I change timezone in user profile. It doesn’t seem to make any effect for UI.
For example it Product>Stock History tab.

Thank You in advance!

Can I move this discussion to the public forum?

Your screenshot shows a bug that we just discovered by us. It has apparently been around for a long time (~2017). Basically the time displayed in the Stock History is always displayed in UTC, not the user’s chosen timezone.

The bug is caused by the use of a taglib that does not deal with the user timezone.

We’ll probably hotfix this issue in the near future. Are there other places in the application where you’ve noticed the timezone not having an effect?

of course You cam move it. If it helps to some one :smiley:
Do you have fix already in mind? I could fix it locally.

Yes I’ll push the PR today. It’s a very simple change.

Could you link me PR when you are done?
I would like to copy changes to our local version :slight_smile:

I just made the change to the taglib in the following PR.

and it seems to be working. I created a new transaction and viewed the timestamp in the Stock History tab. See that my local time in the top of the screenshot matches the timestamp displayed in the Stock History tab.

This change will probably be included in an upcoming hotfix release (along with some other minor annoyances I’ve discovered recently).

Do you have fix already in mind? I could fix it locally.

You could potentially patch the change locally, but it might require you to build a new WAR file from source code. Are you familiar / comfortable with that process? If not, I would recommend waiting until we have a chance to create an official hotfix release.

Justin