Actions
Bug #1229
openflt.utils.trimmer: with no date, beginning time cannot be greater than end time
Start date:
02/17/2020
Due date:
% Done:
0%
Estimated time:
Description
If you specify
begin="22:34", end="02:17"
to flt.utils.trimmer
, it fails to initialize and logs that the the beginning time is greater than the end time.
However, it is implicit that, without dates specified, any combination of beginning and end times is correct, and we assume a maximum delta of 23h59:59.999999999. In other words, in the example above, we want to trim from 22:34 to 2:17 the following day.
Would this be accepted:
begin="2019-04-11 22:34", end="02:17"
Or this:
begin="22:34", end="2019-04-12 02:17"
If so, we don't need any message to deduce the end time's date. But this is not currently supported.
Actions