summaryrefslogtreecommitdiff
path: root/templates/history_by_year.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-26 19:53:01 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-26 19:53:01 +0200
commite07063c52c51569b5f252a202f5d71b5f70a73e7 (patch)
tree301f64f3fe95038a2551a81c927ff0206df93243 /templates/history_by_year.html.ep
parent2cae5a51d2f2a8002864860f452fa9474dc2ecb3 (diff)
Add manual journey entry
Closes #3
Diffstat (limited to 'templates/history_by_year.html.ep')
-rw-r--r--templates/history_by_year.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/history_by_year.html.ep b/templates/history_by_year.html.ep
index 97c223f..f73d7ec 100644
--- a/templates/history_by_year.html.ep
+++ b/templates/history_by_year.html.ep
@@ -1,4 +1,4 @@
-% my $since = get_user_data()->{registered_at};
+% my $since = get_oldest_journey_ts();
% my $now = DateTime->now(time_zone => 'Europe/Berlin');
%= include '_history_years', current => $year, since => $since, now => $now;
@@ -9,5 +9,5 @@
% }
% if (stash('journeys')) {
- %= include '_history_trains', journeys => stash('journeys');
+ %= include '_history_trains', date_format => '%d.%m.', journeys => stash('journeys');
% }