Camunda cockpit GUI shows incorrect time

Hi,
I am using a standard SpringBoot Java Camunda7 application and it is deployed in the server present in Germany.

So when request comes at 5 pm then Camunda cockpit shows the request time as 6 pm in Winter and 7 pm in Summer.

I am assuming that the issue occurs because Camunda GUI converts the database time to local time when displaying data. But the data seems to be stored in database with Germany time (server time) and not UTC time and the Camunda conversion logic wrongly assumes that the database data is in UTC time. How can I fix this?

Hi @firstpostcommenter
What if you try to set time_zone for your application?

Something like: spring.jpa.properties.hibernate.jdbc.time_zone=UTC

Have you tried such an approach?

Regards,
Alex

Hi @firstpostcommenter,

Check Database Timezone

Look into the DB and verify how timestamps are stored:

  • Are they in UTC?
  • Are they auto-adjusted?

Check Browser Timezone

Open your browser’s dev tools console and run:

new Date().toString()

See if it matches your expectation. Cockpit may use browser time for rendering.

Modify Cockpit Display Format (Advanced)

If you want to change the way Cockpit renders times, you’d need to modify the front-end or customize it using plugins (Camunda supports Cockpit plugins).


Suggested Fixes may solve the issue

  • First confirm if all timestamps in the DB are UTC.
  • Then ensure JVM is configured to your desired timezone.
  • If you still want UI-level customization (e.g., always show local time), consider writing a plugin.
1 Like