Skip to content

Commit

Permalink
Merge branch '2.6.x' into 2.7.x
Browse files Browse the repository at this point in the history
Closes gh-33255
  • Loading branch information
wilkinsona committed Nov 18, 2022
2 parents 0a3c403 + fc9c036 commit c483e66
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -16,6 +16,7 @@

package org.springframework.boot.actuate.autoconfigure.endpoint.web.documentation;

import java.time.Instant;
import java.util.List;
import java.util.Properties;

Expand Down Expand Up @@ -83,7 +84,7 @@ GitInfoContributor gitInfoContributor() {
properties.put("branch", "main");
properties.put("commit.id", "df027cf1ec5aeba2d4fedd7b8c42b88dc5ce38e5");
properties.put("commit.id.abbrev", "df027cf");
properties.put("commit.time", Long.toString(System.currentTimeMillis()));
properties.put("commit.time", Long.toString(Instant.now().getEpochSecond()));
GitProperties gitProperties = new GitProperties(properties);
return new GitInfoContributor(gitProperties);
}
Expand Down

0 comments on commit c483e66

Please sign in to comment.