I have the below properties configured in my spring boot application.yml
info:
app:
name: @project.artifactId@
description: @project.description@
version: @project.version@
timestamp: @timestamp@
After adding Spring Boot Actuator dependency, I am able to access /info
endpoint and view the information.
To display the timestamp information, I add the below property in maven project's pom.xml as below,
<properties>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
</properties>
The timestamp is displalyed in correct format but it is not correct one. I mean I am in IST timezone and the value is displayed as, timestamp: "2017-10-03T16:24:02Z" which is incorrect, probably it is displaying in GMT time format. But, I want IST format.
Can someone help me on this?