summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-12-31 12:24:51 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-12-31 12:24:51 +0100
commita2e1edbe8bccb584f5d3441c06914242dfa2d981 (patch)
tree5064198469250e6698e0fc1bdf1756d49014616c /lib/Travelynx
parent4d044fb98a16a7c26e88ce138e4c3f8e973bb30f (diff)
history_map: filter_until is inclusive2.5.7
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm6
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;