Werk #16370: time_periods: Fix error when using time ranges shorter than a minute

Component REST API
Title time_periods: Fix error when using time ranges shorter than a minute
Date Feb 22, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Prior to this Werk, when trying to create a time period with a time range shorter than 1 minute, an error code 500 was returned due to a validation error. This Werk solves that problem, and time periods shorter than 1 minute are validated correctly, so the endpoint now accepts them.

To the list of all Werks