aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-01-20 23:08:23 +0000
committerMatthew Somerville <matthew@mysociety.org>2011-01-20 23:08:23 +0000
commitd04fc9175445fa6db7df9dfe2fa929e70b3bb321 (patch)
treeb8d46d1a811c9c32b309317626ca15a40548bb69
parent0faa9bfe0ed7cbeb9e8d88a76ddcb8cb55b6f3bd (diff)
Missing first argument.
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 5785a30bd..94502a74e 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -821,7 +821,7 @@ sub display_location {
$report_url = Cobrand::url($cobrand, $report_url, $q);
$on_list .= '<li><a href="' . $report_url . '">';
$on_list .= ent($_->{title}) . '</a> <small>(';
- $on_list .= Page::prettify_epoch($_->{time}) . ')</small>';
+ $on_list .= Page::prettify_epoch($q, $_->{time}) . ')</small>';
$on_list .= ' <small>' . _('(fixed)') . '</small>' if $_->{state} eq 'fixed';
$on_list .= '</li>';
}
@@ -835,7 +835,7 @@ sub display_location {
my $dist = int($_->{distance}/100+0.5);
$dist = $dist / 10;
$around_list .= ent($_->{title}) . '</a> <small>(';
- $around_list .= Page::prettify_epoch($_->{time}) . ', ';
+ $around_list .= Page::prettify_epoch($q, $_->{time}) . ', ';
$around_list .= $dist . 'km)</small>';
$around_list .= ' <small>' . _('(fixed)') . '</small>' if $_->{state} eq 'fixed';
$around_list .= '</li>';