Skip to content

Commit b602b1d

Browse files
committed
Document expected format for commit time in git.properties
Closes gh-10392
1 parent 7eb9193 commit b602b1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2721,6 +2721,11 @@ https://plugins.gradle.org/plugin/com.gorylenko.gradle-git-properties[`gradle-gi
27212721
}
27222722
----
27232723

2724+
TIP: The commit time in `git.properties` is expected to match the format
2725+
`yyyy-MM-dd'T'HH:mm:ssZ`. This is the default format for both plugins listed above. Using this format
2726+
allows the time to be parsed into a `Date` and its format when serialized to JSON to be controlled by
2727+
Jackson's date serialization configuration settings.
2728+
27242729

27252730

27262731
[[howto-customize-dependency-versions-with-maven]]

0 commit comments

Comments
 (0)