5 Replies Latest reply on Mar 7, 2007 10:29 AM by Pierre Raoul

    s:convertDateTime subtract 1 day

    Manuel Aznar Pérez Newbie

      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 works fine.

      Is a bug?