I came accross a particular problem. I have a datatable in which i want to filter dates in primefaces. when I use
<p:column id="date" headerText="Manufacturing date"
filterBy="#{car.dateOfManufacturing}"
filterMatchMode="contains">
<p:outputLabel value="#{car.dateOfManufacturing}" >
</p:outputLabel>
</p:column>
Then the filtering of dates happen fine. But when i use
<p:column id="date" headerText="Manufacturing date"
filterBy="#{car.dateOfManufacturing}"
filterMatchMode="contains">
<p:outputLabel value="#{car.dateOfManufacturing}" >
<f:convertDateTime locale="de" />
</p:outputLabel>
</p:column>
the filtering does not happen properly. In fact my observation is with the locale the date format is something like
20.11.2013
but even if I type Wed Nov .. i am able to see filtered results. I also observed that without locale the date is dispayed as
Wed Nov 20 13:43:37 CET 2013 So i guess it is getting filtered according the latter date even though we see a different date pattern on the screen.