Hey Lucas,
I have tried using format="yyyy-MM-dd" but it overrides the i18nInteceptor. As an example
If I use:
Then change my
Struts 2.1 inteceptor using:
I get the following results:
English: Dec 29, 2010 8:09:07 PM
French: 29 déc. 2010 20:46:31
So if I set my date tag to:
I get the following results:
English: 2010-12-29
French: 2010-12-29
As you can see by setting the format property its over writing the i18n with the java.util.date. I want the java.util.date format determined by the i18nInteceptor but I want to specify which parts of the date are returned.
Im really pleased with struts returning the date in the proper language & format I just want to specify which parts of the dates are returned. IE I would like to exclude the time portion of the stamp returned.
Something like SHORT or MEDIUM for the java.util.date object.
Cheers,
Earl