Actions
Bug #14854
open
CM
WTime::toString with Format "+hh:mm": "+" is treated as literal
Bug #14854:
WTime::toString with Format "+hh:mm": "+" is treated as literal
Start date:
10/01/2026
Due date:
% Done:
0%
Estimated time:
Description
Files
RM Updated by Romain Mardulyn 5 days ago
- Target version set to 4.16.0
CM Updated by Christian Meyer 1 day ago
- File wt_WTime_negative.patch wt_WTime_negative.patch added
WTime can never be negative for times lower than 1 hour ...
because only the sign of the hour is checked...
I added an internal bool that tracks sign and use that for +- range output
updated setHMS to check every value for negativity, std::abs the value and keep the tracking.
Also adjusted ALL the constructors and from... Handlers to incorporate negative values or set negative after using setHMS, to enable signed updates with setHMS.
Additionally WtSqlTraits for Time also did not support negative values ...
updated Dbo::Impl::msecsToHMS to return negative values.
Actions