jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r667884 - /incubator/jspwiki/trunk/src/webdocs/Comment.jsp
Date Sat, 14 Jun 2008 21:09:40 GMT
Author: jalkanen
Date: Sat Jun 14 14:09:40 2008
New Revision: 667884

URL: http://svn.apache.org/viewvc?rev=667884&view=rev
Log:
JSPWIKI-292: didn't compile due to API signature changes.

Modified:
    incubator/jspwiki/trunk/src/webdocs/Comment.jsp

Modified: incubator/jspwiki/trunk/src/webdocs/Comment.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/webdocs/Comment.jsp?rev=667884&r1=667883&r2=667884&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/webdocs/Comment.jsp (original)
+++ incubator/jspwiki/trunk/src/webdocs/Comment.jsp Sat Jun 14 14:09:40 2008
@@ -9,6 +9,7 @@
 <%@ page import="com.ecyrd.jspwiki.preferences.Preferences" %>
 <%@ page import="com.ecyrd.jspwiki.auth.login.CookieAssertionLoginModule" %>
 <%@ page import="com.ecyrd.jspwiki.workflow.DecisionRequiredException" %>
+<%@ page import="com.ecyrd.jspwiki.preferences.Preferences.TimeFormat" %>
 <%@ page errorPage="/Error.jsp" %>
 <%@ page import="javax.servlet.http.Cookie" %>
 <%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
@@ -179,7 +180,7 @@
             }
 
             Calendar cal = Calendar.getInstance();
-            SimpleDateFormat fmt = Preferences.getDateFormat( wikiContext );
+            SimpleDateFormat fmt = Preferences.getDateFormat( wikiContext ,  TimeFormat.DATETIME);
 
             pageText.append("\n\n--"+signature+", "+fmt.format(cal.getTime()));
 



Mime
View raw message