You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ja...@apache.org on 2008/06/14 23:09:40 UTC
svn commit: r667884 - /incubator/jspwiki/trunk/src/webdocs/Comment.jsp
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()));