summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-12 17:39:07 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-12 17:39:07 +0100
commit85a51d7d8bd501318b33095e82237a0301a8f7fa (patch)
tree19bb240c1193529ca31616a70d5f4794b1fec47d /lib/Travel
parent4c4562342db0c63fac726a4e5fce2b026a7fafc4 (diff)
HAFAS(3pm): avoid unicode
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Routing/DE/HAFAS.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Routing/DE/HAFAS.pm b/lib/Travel/Routing/DE/HAFAS.pm
index 8d3e416..a66c8b0 100644
--- a/lib/Travel/Routing/DE/HAFAS.pm
+++ b/lib/Travel/Routing/DE/HAFAS.pm
@@ -636,7 +636,7 @@ Travel::Routing::DE::HAFAS - Interface to HAFAS itinerary services
my $hafas = Travel::Routing::DE::HAFAS->new(
from_stop => 'Eichlinghofen H-Bahn, Dortmund',
- to_stop => 'Gangelplatz, Düsseldorf',
+ to_stop => 'Gangelplatz, DE<uuml>sseldorf',
);
if (my $err = $hafas->errstr) {
@@ -646,7 +646,7 @@ Travel::Routing::DE::HAFAS - Interface to HAFAS itinerary services
for my $con ( $hafas->connections ) {
for my $sec ($con->sections) {
if ( $sec->type eq 'JNY' ) {
- printf("%s → %s\n%s ab %s\n%s an %s\n\n",
+ printf("%s -> %s\n%s ab %s\n%s an %s\n\n",
$sec->name, $sec->direction,
$sec->dep_datetime->strftime('%H:%M'),
$sec->dep_loc->name,