summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-03-01 21:37:04 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-03-01 21:37:04 +0100
commit5d021c4ec99525cc4ea8219e2dc8d4e6b00b2de0 (patch)
treef8dabd819c82fa1580cb66442c9bb49e563e5b4e /templates
parent77ac39f3897ddb99952ff63d1ebd2baee27006eb (diff)
oops.
Diffstat (limited to 'templates')
-rw-r--r--templates/journey.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index 9d62daa..ee5d008 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -130,8 +130,8 @@
<%= numify_skipped_stations($journey->{skip_route}) %><br/>
% }
% if ($journey->{km_route} > 0.1) {
- ca. <%= sprintf('%.1f', $journey->{km_route}) %> km
- (Luftlinie: <%= sprintf('%.1f', $journey->{km_beeline}) %> km)
+ ca. <%= sprintf('%.f', $journey->{km_route}) %> km
+ (Luftlinie: <%= sprintf('%.f', $journey->{km_beeline}) %> km)
% }
% else {
?