[mythtv-commits] [MythTV/mythtv] c16684: Conversion of negative time values to string
noreply at github.com
Fri Mar 17 22:22:57 UTC 2023
Author: Klaas de Waal <klaas at kldo.nl>
Date: 2023-03-17 (Fri, 17 Mar 2023)
Conversion of negative time values to string
When converting a negative time value with format string "m:ss" there is
a minus sign before the minutes and also a minus sign before the seconds.
The implementation apparently only supports positive time interval values.
The implementation is now extended to support negative time interval values
by converting the absolute time value to string and then prepending a minus
sign when the time value is negative.
The implementation was introduced in commit 65b9c73adacabe38877c3e18af5d4a0545799c1
"Better fix for MythDate::formatTime to handle overflows.", committed on Mar 16, 2022.
More information about the mythtv-commits