diff --git a/Changelog b/Changelog index c24e531113470d0057cd1c1061c98cc03a6a9dd1..aadb884ed396846ee8a3a7ab4444fd5ba3768bc2 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,10 @@ +Travel::Status::DE::IRIS 1.20 - Mon Aug 06 2018 + + * Use schedule instead of realtime data when determining whether a train + falls within the lookahead time frame. This fixes severely delayed + trains being ignored even if their scheduled arrival/departure is very + soon or has already passed. + Travel::Status::DE::IRIS 1.19 - Wed Aug 01 2018 * db-iris: Fix "-ot" ignoring arrival delay if departure is on time diff --git a/bin/db-iris b/bin/db-iris index 5d84fb9e0f87e56e28da512b1f62b4d1f8f73aa4..537577f66e73ebf29a1fc4cd2aefa26451a88104 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -6,7 +6,7 @@ use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '1.19'; +our $VERSION = '1.20'; use DateTime; use DateTime::Format::Strptime; @@ -535,7 +535,7 @@ I =head1 VERSION -version 1.19 +version 1.20 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 21bc5993fc9147d82764281c9c9f5b2acce56f82..f9a05eecc3b39d398ef929953b5630627bda0a7f 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -6,7 +6,7 @@ use 5.014; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '1.19'; +our $VERSION = '1.20'; use Carp qw(confess cluck); use DateTime; @@ -576,7 +576,7 @@ Travel::Status::DE::IRIS - Interface to IRIS based web departure monitors. =head1 VERSION -version 1.19 +version 1.20 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 4f5a0ae3c66375e3bdf64650ab63853344e45508..e5f00ab5b4824ec1d04c2948f732dd3616dded4a 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -15,7 +15,7 @@ use List::Compare; use List::MoreUtils qw(none uniq firstval); use Scalar::Util qw(weaken); -our $VERSION = '1.19'; +our $VERSION = '1.20'; my %translation = ( 2 => 'Polizeiliche Ermittlung', @@ -801,7 +801,7 @@ arrival/departure received by Travel::Status::DE::IRIS =head1 VERSION -version 1.19 +version 1.20 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS/Stations.pm b/lib/Travel/Status/DE/IRIS/Stations.pm index b4ef464533b4cc31f4281ebff6c37ce585beca39..f954478bc38325d91c166d6e85554cd2bdcc2f9d 100644 --- a/lib/Travel/Status/DE/IRIS/Stations.pm +++ b/lib/Travel/Status/DE/IRIS/Stations.pm @@ -17,7 +17,7 @@ use Text::LevenshteinXS qw(distance); # TODO switch to Text::Levenshtein::XS once AUR/Debian packages become available -our $VERSION = '1.19'; +our $VERSION = '1.20'; my @stations = (