summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-18 23:05:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-18 23:05:23 +0100
commit4a8c50a40e64e766fc75a258e53e47b69e2eb994 (patch)
treef775a1b47942355097b3d6476f0a86415ac7d3dd
parentaebd3d59712daa6cfb01aee77ffb93005907c67b (diff)
Result: train_id is unique per day only, but identifies the same train across days
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm
index 2cbab6b..f60d772 100644
--- a/lib/Travel/Status/DE/IRIS/Result.pm
+++ b/lib/Travel/Status/DE/IRIS/Result.pm
@@ -923,8 +923,10 @@ Alias for line.
=item $result->train_id
-Numeric ID of this train. Seems to be unique for a year and trackable across
-stations.
+Numeric ID of this train, trackable across stations and days. For instance, the
+S 31128 (S1) to Solingen, starting in Dortmund on 19:23, has the ID
+2404170432985554630 on each station it passes and (usually) on every day of the
+year. Note that it may change during the yearly itinerary update in december.
=item $result->train_no