history_map: filter_until is inclusive

This commit is contained in:
Birte Kristina Friesel 2023-12-31 12:24:51 +01:00
parent 4d044fb98a
commit a2e1edbe8b
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -1332,7 +1332,11 @@ sub map_history {
if ( $filter_until
and $filter_until =~ m{ ^ (\d+) [.] (\d+) [.] (\d+) $ }x )
{
$filter_until = $parser->parse_datetime($filter_until);
$filter_until = $parser->parse_datetime($filter_until)->set(
hour => 23,
minute => 59,
second => 58
);
}
else {
$filter_until = undef;