I have an application using DisplayTag that has a date field which needs
to be sortable. Getting the field sorted and displayed in a suitable
format is easy. The problem is that the customer wants the date format
to follow the odd US convention of MM d, yyyy, e.g. Aug 26, 2004. Since
this formatted date is a string, sorting yields results which are not in
true date order, rather they are in collating sequence order.

Could someone please suggest a process to display the date in the
desired format, yet also sort in correct date order? A decorator does
not seem to be the solution, but I could be incorrect.

Thank you,

Brad
-- 
Brad Smith <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to