diff options
author | matthew <matthew> | 2008-09-16 16:02:40 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-09-16 16:02:40 +0000 |
commit | 95da2b7d2fe1bd74cf89025be5afdd2fbe1c3d83 (patch) | |
tree | 4a29c68c1017401ffb7897478a00c7765f3f2fae | |
parent | dd3bc61b49a2dac177a07dd38c3580d5768772fd (diff) |
No point in not showing year, stops possible confusion.
-rw-r--r-- | perllib/Page.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index 23fb73e91..5f8b29791 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Page.pm,v 1.109 2008-09-16 15:48:16 matthew Exp $ +# $Id: Page.pm,v 1.110 2008-09-16 16:02:40 matthew Exp $ # package Page; @@ -535,7 +535,7 @@ sub prettify_epoch { } elsif (strftime('%Y %U', @s) eq strftime('%Y %U', @t)) { $tt = "$tt, " . strftime('%A', @s); } elsif (strftime('%Y', @s) eq strftime('%Y', @t)) { - $tt = "$tt, " . strftime('%A %e %B', @s); + $tt = "$tt, " . strftime('%A %e %B %Y', @s); } else { $tt = "$tt, " . strftime('%a %e %B %Y', @s); } |