I see that this has come up before, however, I continue to experience this
problem with the sandbox datetime converter.
I'm using an inputText component to capture the date using pattern 'yyyy'.
The date returned is always Dec. 31, yyyy-1. Could this be the GMT/local
time conversion problem? If so, why does it continue to occur when using the
sandbox dateTime converter?
<t:inputText value='#{mybean.mydate}'>
<f:convertDateTime pattern='yyyy'/>
</t:inputText>
I have set up the sandbox converter as my default DateTime converter in
facesconfig:
<converter>
<converter-for-class>java.util.Date</converter-for-class>
<converter-class>org.apache.myfaces.custom.convertDateTime.DateTimeConverter
</converter-class>
</converter>
Thanks for any help!
Ben