I I put in code:
| <s:convertDateTime pattern="dd/MM/yyyy"/>
|
And in page put in input text "01/02/2007". It convert it to
"31/01/2007".
If i use custom DateConverter:
| <f:converter converterId="com.minalink.reservas.converters.DateConverter"
/>
|
| package com.minalink.reservas.converters;
|
| import javax.faces.convert.DateTimeConverter;
|
| public class DateConverter extends DateTimeConverter {
|
| public static final String pattern = "dd/MM/yyyy";
|
| public DateConverter(){
| this.setPattern(pattern);
| }
|
| }
|
This works fine.
Is a bug?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025736#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...