Author: brushed
Date: Sat Apr 5 08:02:34 2008
New Revision: 645110
URL: http://svn.apache.org/viewvc?rev=645110&view=rev
Log:
[JSPWIKI-230] Few more time-formatting updates in the ProfileTab and
WorkflowContent JSPs.
Modified:
incubator/jspwiki/trunk/src/webdocs/templates/default/ProfileTab.jsp
incubator/jspwiki/trunk/src/webdocs/templates/default/WorkflowContent.jsp
Modified: incubator/jspwiki/trunk/src/webdocs/templates/default/ProfileTab.jsp
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/webdocs/templates/default/ProfileTab.jsp?rev=645110&r1=645109&r2=645110&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/webdocs/templates/default/ProfileTab.jsp
(original)
+++ incubator/jspwiki/trunk/src/webdocs/templates/default/ProfileTab.jsp Sat
Apr 5 08:02:34 2008
@@ -117,14 +117,14 @@
<td><label><fmt:message key="prefs.creationdate"/></label></td>
<td class="formvalue">
<%--<wiki:UserProfile property="created"/>--%>
- <fmt:formatDate value="<%= profile.getCreated() %>"
pattern="${prefs['DateFormat']}" />
+ <fmt:formatDate value="<%= profile.getCreated() %>"
pattern="${prefs.DateFormat}" timeZone="${prefs.TimeZone}" />
</td>
</tr>
<tr class="additinfo">
<td><label><fmt:message key="prefs.profile.lastmodified"/></label></td>
<td class="formvalue">
<%--<wiki:UserProfile property="modified"/>--%>
- <fmt:formatDate value="<%= profile.getLastModified() %>"
pattern="${prefs['DateFormat']}" />
+ <fmt:formatDate value="<%= profile.getLastModified() %>"
pattern="${prefs.DateFormat}" timeZone="${prefs.TimeZone}" />
</td>
</tr>
</wiki:UserProfile>
Modified:
incubator/jspwiki/trunk/src/webdocs/templates/default/WorkflowContent.jsp
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/webdocs/templates/default/WorkflowContent.jsp?rev=645110&r1=645109&r2=645110&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/webdocs/templates/default/WorkflowContent.jsp
(original)
+++ incubator/jspwiki/trunk/src/webdocs/templates/default/WorkflowContent.jsp
Sat Apr 5 08:02:34 2008
@@ -80,7 +80,7 @@
<td align="left"><c:out value="${decision.owner.name}"/></td>
<!-- When did the actor start this step? -->
<td align="left">
- <fmt:formatDate value="${decision.startTime}"
pattern="${prefs['DateFormat']}" />
+ <fmt:formatDate value="${decision.startTime}"
pattern="${prefs.DateFormat}" timeZone="${prefs.TimeZone}" />
</td>
</tr>
<!-- Hidden row with Decision details, if there are any -->
@@ -157,7 +157,7 @@
<td align="left"><c:out value="${workflow.currentActor.name}"/></td>
<!-- When did the actor start this step? -->
<td align="left">
- <fmt:formatDate value="${workflow.currentStep.startTime}"
pattern="${prefs['DateFormat']}" />
+ <fmt:formatDate value="${workflow.currentStep.startTime}"
pattern="${prefs.DateFormat}" timeZone="${prefs.TimeZone}" />
</td>
</tr>
<% i++; %>