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

sneethir pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new bd4e82c6d RANGER-4139: fixed to display correct publish date for the 
site
bd4e82c6d is described below

commit bd4e82c6d762c682f3b6687910e8f2c0585b51bf
Author: Selvamohan Neethiraj <[email protected]>
AuthorDate: Thu May 4 17:26:04 2023 -0400

    RANGER-4139: fixed to display correct publish date for the site
---
 docs/src/site/site.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/src/site/site.xml b/docs/src/site/site.xml
index 4d567bb34..9eb4b3343 100644
--- a/docs/src/site/site.xml
+++ b/docs/src/site/site.xml
@@ -18,7 +18,6 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
-
 <project xmlns="http://maven.apache.org/DECORATION/2.0.0";
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://maven.apache.org/DECORATION/2.0.0 
http://maven.apache.org/xsd/decoration-2.0.0.xsd";>
@@ -105,8 +104,10 @@ under the License.
 
     <footer><![CDATA[
         <p class="version-date">
-            <span class="projectVersion">Version: 3.0.0-SNAPSHOT. </span>
-            <span class="publishDate">Last Published: 2022-04-23. </span>
+            $dateFormat.applyPattern("MMM-dd-yyyy")
+            #set ( $pubDt = $dateFormat.format( ${currentDate} ) )
+            <span class="projectVersion">Version: ${version}.</span>
+            <span class="publishDate">Last Published: ${pubDt}.</span>
         </p>]]>
     </footer>
 

Reply via email to