This is an automated email from the ASF dual-hosted git repository.

schultz pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 7f06cb314c29db28870af06b6df77666d156539e
Author: Christopher Schultz <ch...@christopherschultz.net>
AuthorDate: Mon Mar 11 17:07:30 2024 -0400

    Add a proper ISO-8601-formatted build date to ServerInfo.properties.
---
 build.xml                                           | 1 +
 java/org/apache/catalina/util/ServerInfo.properties | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index c3f3268742..c1683608d4 100644
--- a/build.xml
+++ b/build.xml
@@ -287,6 +287,7 @@
     <filter token="VERSION_MAJOR" value="${version.major}"/>
     <filter token="VERSION_MAJOR_MINOR" value="${version.major.minor}"/>
     <filter token="VERSION_BUILT" value="${today} ${tstamp} UTC"/>
+    <filter token="VERSION_BUILT_ISO" value="${today-iso-8601}"/>
     <filter token="JDT_VERSION" value="${jdt.version}"/>
     <filter token="GIT_BRANCH" value="${git.branch}"/>
     <filter token="MIN_JAVA_VERSION" value="${min.java.version}"/>
diff --git a/java/org/apache/catalina/util/ServerInfo.properties 
b/java/org/apache/catalina/util/ServerInfo.properties
index 86b406cbe1..3aa34f4ab5 100644
--- a/java/org/apache/catalina/util/ServerInfo.properties
+++ b/java/org/apache/catalina/util/ServerInfo.properties
@@ -15,4 +15,5 @@
 
 server.info=Apache Tomcat/@VERSION@
 server.number=@VERSION_NUMBER@
-server.built=@VERSION_BUILT@
\ No newline at end of file
+server.built=@VERSION_BUILT@
+server.built.iso=@VERSION_BUILT_ISO@


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to