[nbj2ee] f:convertDateTime

  • From: Andreas Ernst < >
  • To:
  • Subject: [nbj2ee] f:convertDateTime
  • Date: Wed, 03 Oct 2012 20:18:21 +0200

Hi,

i got a Maven based web project with MySQL.

---- code snippet ----
<h:column>
  <f:facet name="header">
    <h:outputText value="#{bundle.ListAusgabenTitle_datum}"/>
  </f:facet>
  <h:outputText value="#{item.datum}">
    <f:convertDateTime pattern="dd.MM.yyyy" />
  </h:outputText>
</h:column>
<h:column>
  <f:facet name="header">
    <h:outputText value="#{bundle.ListAusgabenTitle_datum}"/>
  </f:facet>
  <h:outputText value="#{item.datum}"/>
</h:column>
---- code snippet ----

The output is

30.09.2012 | Mon Oct 01 00:00:00 CEST 2012
01.10.2012 | Tue Oct 02 00:00:00 CEST 2012

The MySQL column is a date type.

What is wrong or is this a bug?
--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003

 | www.ae-online.de
www.parcelchecker.de | www.tachyon-online.de


[nbj2ee] f:convertDateTime

Andreas Ernst 10/03/2012

<Possible follow-up(s)>

[nbj2ee] f:convertDateTime

AeneasTroy 10/04/2012

[nbj2ee] Re: f:convertDateTime

John Yeary 10/08/2012

[nbj2ee] Re: f:convertDateTime

Andreas Ernst 10/08/2012

[nbj2ee] Re: f:convertDateTime

John Yeary 10/08/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close