I'm getting a timestamp in unix format that is being displayed in the frontend with the wrong timezone.
For example:
My item receives a value of "1657361472" and its unit is set as "unixtime".
When I check the latest data, the item displays the wrong time.
That value should be translated as "2022-07-09 10:11:12" in the frontend, but it is displaying "2022-07-09 07:11:12".

The value is correct, but the presentation is not.
Of course, my frontend is configured with GMT-3, which is my time zone.
How can I display the timestamp value ignoring my frontend's timezone?
For example:
My item receives a value of "1657361472" and its unit is set as "unixtime".
When I check the latest data, the item displays the wrong time.
That value should be translated as "2022-07-09 10:11:12" in the frontend, but it is displaying "2022-07-09 07:11:12".
The value is correct, but the presentation is not.
Of course, my frontend is configured with GMT-3, which is my time zone.
How can I display the timestamp value ignoring my frontend's timezone?


Comment