aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-01-20 23:15:57 +0000
committerMatthew Somerville <matthew@mysociety.org>2011-01-20 23:15:57 +0000
commitab6c078efbbb3fd01da903d0f6b076186371a1f9 (patch)
tree68019e0a9d22057ac5633f6b03f9d66ae9a96186 /web/index.cgi
parentd04fc9175445fa6db7df9dfe2fa929e70b3bb321 (diff)
Shorter dates.
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 94502a74e..e503f50ba 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($q, $_->{time}) . ')</small>';
+ $on_list .= Page::prettify_epoch($q, $_->{time}, 1) . ')</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($q, $_->{time}) . ', ';
+ $around_list .= Page::prettify_epoch($q, $_->{time}, 1) . ', ';
$around_list .= $dist . 'km)</small>';
$around_list .= ' <small>' . _('(fixed)') . '</small>' if $_->{state} eq 'fixed';
$around_list .= '</li>';