diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-31 12:24:51 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-31 12:24:51 +0100 |
commit | a2e1edbe8bccb584f5d3441c06914242dfa2d981 (patch) | |
tree | 5064198469250e6698e0fc1bdf1756d49014616c /lib/Travelynx | |
parent | 4d044fb98a16a7c26e88ce138e4c3f8e973bb30f (diff) |
history_map: filter_until is inclusive2.5.7
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index 7ff646d..dcfd36b 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -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; |