[//]: # (werk v2)
# Handle the uptime of Docker containers across time zones
key | value
---------- | ---
date | 2024-04-12T09:35:03+00:00
version | 2.3.0b6
class | fix
edition | cre
component | checks
level | 1
compatible | yes
As of version 2.3, the uptime monitoring service for Docker containers could crash if the
container's start time was later than the current CheckMk site's current time.
This resulted in a negative uptime calculation error (ValueError: "Cannot render
negative timespan").
This could occur in situations where the host system and the container had different
configured timezones.
We now correctly handle all timestamps, ensuring accurate uptime calculations regardless
of timezone configurations.