spring-boot/spring-boot-autoconfigure
Andy Wilkinson 201fb5e534 Make Joda DateTime serialization format configurable
We allow the serialization format of dates to be configured using
spring.jackson.date-format. However, this property only applies to
java.util.Date instances and has no effect on a Joda DateTime.

This commit updates our auto-configuration for Jackson to allow
the format string that is used to  serialize a Joda DateTime to be
configured. A new property, spring.jackson.joda-date-time-format has
been introduced. When configured, it is used to configure the
serialization format for a Joda DateTime. When it is not configured,
we fall back to using spring.jackson.date-format. If this fails,
either because the format string is incompatible (unlikely) or because
the user's configured the fully-qualified name of a DateFormat class,
a warning is logged encouraging the use of
spring.jackson.joda-date-time-format.

Fixes gh-2225
2015-02-12 16:07:53 +00:00
..
src Make Joda DateTime serialization format configurable 2015-02-12 16:07:53 +00:00
.gitignore Restore test classes 2014-06-01 13:11:25 +01:00
pom.xml Allow XA DataSource and ConnFactory pools to be configured via the env 2015-01-27 10:55:56 +00:00