diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-26 19:53:01 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-26 19:53:01 +0200 |
commit | e07063c52c51569b5f252a202f5d71b5f70a73e7 (patch) | |
tree | 301f64f3fe95038a2551a81c927ff0206df93243 /templates/history_by_month.html.ep | |
parent | 2cae5a51d2f2a8002864860f452fa9474dc2ecb3 (diff) |
Add manual journey entry
Closes #3
Diffstat (limited to 'templates/history_by_month.html.ep')
-rw-r--r-- | templates/history_by_month.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/history_by_month.html.ep b/templates/history_by_month.html.ep index 3794858..64d42c6 100644 --- a/templates/history_by_month.html.ep +++ b/templates/history_by_month.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_months', current => "${year}/${month}", 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'); % } |