On May 27, 2008, at 3:10 PM, sdumitriu (SVN) wrote:
Author: sdumitriu
Date: 2008-05-27 15:10:39 +0200 (Tue, 27 May 2008)
New Revision: 9932
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/
historyinline.vm
Log:
XWIKI-2405: The history page displays dates in the 12 hours format
Modified: xwiki-platform/web/trunk/standard/src/main/webapp/
templates/historyinline.vm
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/
historyinline.vm 2008-05-27 11:20:25 UTC (rev 9931)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/
historyinline.vm 2008-05-27 13:10:39 UTC (rev 9932)
@@ -66,7 +66,7 @@
<td><input type="radio" name="rev2"
value="$version" /></td>
<td><a
href="$tdoc.getURL("viewrev","rev=$version")">
$version</a></td>
<td>$xwiki.getLocalUserName($revinfo.author)</td>
- <td>$xwiki.formatDate($revinfo.date, "dd/MM/yyyy hh:mm")</
td>
+ <td>$xwiki.formatDate($revinfo.date, "dd/MM/yyyy HH:mm")</
td>
Shouldn't this use the default format instead?
public String formatDate(Date date)
This format is defined in the wiki preferences.
Yes, that would be better, but I just fixed an obvious bug. Reviewing
the templates is for a later time.
--
Sergiu Dumitriu