Update the "Configuring a Global Date and Time Format" so that its application does not break support of Duration properties readable format (1s, 2h,3d...)
Without ApplicationConversionService.addApplicationConverters(conversionService)
loading Duration annotated with @Value
would fail because the DurationConverter
registered within the DateTimeFormatterRegistrar
does not support "readable" Duration format.
Comment From: pivotal-cla
@m-dutaut Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@m-dutaut Thank you for signing the Contributor License Agreement!
Comment From: snicoll
@m-dutaut ApplicationConversionService
is a Spring Boot concept, and so is the feature you are referring to. We can't document that here.