mirror of
https://github.com/derf/travelynx
synced 2024-12-05 10:49:13 +00:00
history_map: filter_until is inclusive
This commit is contained in:
parent
4d044fb98a
commit
a2e1edbe8b
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue