I have a field that is a millisecond date (type long) and I'd like to use the parseDate and formatDate tags to display the date. I've tried every variation I can think of, but this is essentially what I'm trying to do:
<fmt:parseDate value="${e.eventDate}" pattern="S" var="edate" />
<fmt:formatDate value="${edate}" type="both" pattern="dd MMMM yyyy HH:mm" />
I can print out the ${e.eventDate} and verify it is valid. In my stack traces it says something about how it cannot parse the input, which is the millisecond date I'm interested in.
Anyone have any insight in how to do this seemingly common task? I've tried everything from changing the pattern(s) to adding locales, etc .. and nothing seems to work.