Skip to Main Content
Cumulocity IoT Feedback Portal
Created by Gerhard Wolodin
Created on Oct 11, 2024

Ensure Cumulocity widgets and applications display server-time instead of the browser's local timezone

While implementing dashboards using data that we extract from an external system we noticed that on the database of c8y the timestamp is identical to the timestamp which the data has in the external system (source).
This is exactly what we intend, as we want to have the same timestamps in both systems.
But on the frontend, we noticed that the data is displayed in based on the browser time - so the timestamps are always adjusted to the timezone the user is in.

We need a way to turn this behaviour off and ensure that widgets and other applications are always returning the data with the server-time of the installation as we are working with manufacturing data and there are cases where management that is interested in the data is not in the same timezone as the production is, but they need to see the data with timestamps from the production (i.e., the time zone the factory is in) and not from the time zone where they are located.

  • Attach files