summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-04-02 16:15:34 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-04-02 16:15:34 +0200
commitb1a17e8d1776ddaf3bcfa3a4d371ac47533d01ac (patch)
tree3fad84690ee02676835a481f5a1c5e9e40bd250c /lib/Travel/Status/DE/HAFAS.pm
parentfb76c6eb57c20177eca19d6fe03a573f378654f8 (diff)
Journey, Stop: Use the service's time zone for all datetimes; mark adjustments
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS.pm')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index bc1a423..204c33a 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -345,6 +345,7 @@ sub new {
station => $conf{station},
ua => $ua,
now => $now,
+ tz_offset => $now->offset / 60,
};
bless( $self, $obj );