0 Replies Latest reply on Mar 14, 2006 6:15 AM by mbertheau

    <fmt:formatDate> not working

    mbertheau

      This is an excerpt from index.jsp:

      ...
      <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
      ...
      Due: <fmt:formatDate value="${item.dueDate}" pattern="yyyyMMdd"/>
      ...

      And I'm getting

      Due: 2006-03-12 15:33:35.074637

      Why does it ignore my pattern? I tried to use dateStyle="short" and/or type="both", but the output doesn't change at all. It seems to ignore me completely.