summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/IRIS.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE/IRIS.pm')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm
index c805d21..9d7f5ee 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -128,7 +128,7 @@ sub new {
} @{ $self->{results} };
@{ $self->{results} }
- = sort { $a->{datetime} <=> $b->{datetime} } @{ $self->{results} };
+ = sort { $a->{epoch} <=> $b->{epoch} } @{ $self->{results} };
# wings (different departures which are coupled as one train) contain
# references to each other. therefore, they must be processed last.