Fix bug related to issue #32218 by adding lower-case P in the pattern string of DurationStyle.ISO8601. Test cases also updated.
Comment From: wilkinsona
@valentine-dev Thanks very much for making your first contribution to Spring Boot.
Comment From: valentine-dev
@wilkinsona It is my pleasure. Looking forward to contribute more.