You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Nöth (Jira)" <de...@myfaces.apache.org> on 2022/11/10 15:31:00 UTC
[jira] [Created] (TOBAGO-2168) tc:date with type=time doesn't work with java.util.Date
Henning Nöth created TOBAGO-2168:
------------------------------------
Summary: tc:date with type=time doesn't work with java.util.Date
Key: TOBAGO-2168
URL: https://issues.apache.org/jira/browse/TOBAGO-2168
Project: MyFaces Tobago
Issue Type: Bug
Components: Core
Affects Versions: 5.3.0
Reporter: Henning Nöth
A <tc:date type="time" value="#{java.util.Date-Object}"/> doesn't work.
A workaround is:
{code:xml}
<tc:date type="time" value="#{java.util.Date-Object}">
<f:convertDateTime type="time" pattern="HH:mm"/>
</tc:date>{code}
If the attribute _step=1_ is used, the pattern attribute must be "HH:mm:ss".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)