I’ve exposed a service bean to the REST services, that returns a list of entity instances according to a custom business logic. The createTs and updateTs fields are formatted according to the pattern “MMM dd, yyyy hh:mm:ss a” by default. I was wondering if there’s any option that allows me to change the default date serialization format, because in our business rules milliseconds can make a huge difference in the results.
I tried setting the dateTimeFormat property within the project properties, but it didn’t have any effect.
So is there a solution to explicitly specify how should the date be serialized?