From b602b1da2e580ad245fce562801eab789a2fb8e0 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 25 Sep 2017 16:53:07 +0100 Subject: [PATCH] Document expected format for commit time in git.properties Closes gh-10392 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 51f04ae709..dce913d482 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -2721,6 +2721,11 @@ https://plugins.gradle.org/plugin/com.gorylenko.gradle-git-properties[`gradle-gi } ---- +TIP: The commit time in `git.properties` is expected to match the format +`yyyy-MM-dd'T'HH:mm:ssZ`. This is the default format for both plugins listed above. Using this format +allows the time to be parsed into a `Date` and its format when serialized to JSON to be controlled by +Jackson's date serialization configuration settings. + [[howto-customize-dependency-versions-with-maven]]