ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matèrne, Jan (RZF, Ref 410) <jan.mate...@fv.nrw.de>
Subject AW: [2/2] ant-ivy git commit: Generate automatically the copyright year in the doc
Date Thu, 06 Jul 2017 06:10:26 GMT
AFAIK in other locations we use a range of time.
Should that be used here too?

          | Copyright &#169; 2008 - 
          = " " + Time.now.year.to_s + " "
          | The Apache Software Foundation, Licensed under the a href="http://www.apache.org/licenses/"
Apache License, Version 2.0.


Jan

-----Urspr√ľngliche Nachricht-----
Von: hibou@apache.org [mailto:hibou@apache.org] 
Gesendet: Mittwoch, 5. Juli 2017 22:15
An: notifications@ant.apache.org
Betreff: [2/2] ant-ivy git commit: Generate automatically the copyright year in the doc

Generate automatically the copyright year in the doc


Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/a12daf30
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/a12daf30
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/a12daf30

Branch: refs/heads/master
Commit: a12daf3088cd295e30e36ce1c48416b3308e0943
Parents: fc6305a
Author: Nicolas Laleve??e <nicolas.lalevee@hibnet.org>
Authored: Wed Jul 5 22:13:46 2017 +0200
Committer: Nicolas Laleve??e <nicolas.lalevee@hibnet.org>
Committed: Wed Jul 5 22:13:46 2017 +0200

----------------------------------------------------------------------
 asciidoc/templates/book/document.html.slim | 4 +++-
 asciidoc/templates/document.html.slim      | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/a12daf30/asciidoc/templates/book/document.html.slim
----------------------------------------------------------------------
diff --git a/asciidoc/templates/book/document.html.slim b/asciidoc/templates/book/document.html.slim
index 126676e..8541fcf 100644
--- a/asciidoc/templates/book/document.html.slim
+++ b/asciidoc/templates/book/document.html.slim
@@ -42,7 +42,9 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
       div id="footer-message" class="footer"
         hr/
         i
-          | Copyright &#169; 2017 The Apache Software Foundation, Licensed under the
+          | Copyright &#169;
+          = " " + Time.now.year.to_s + " "
+          | The Apache Software Foundation, Licensed under the
           a href="http://www.apache.org/licenses/" Apache License, Version 2.0
           | .
         br/

http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/a12daf30/asciidoc/templates/document.html.slim
----------------------------------------------------------------------
diff --git a/asciidoc/templates/document.html.slim b/asciidoc/templates/document.html.slim
index 5a8bd92..776221a 100644
--- a/asciidoc/templates/document.html.slim
+++ b/asciidoc/templates/document.html.slim
@@ -79,7 +79,9 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
       div id="footer-message" class="footer"
         hr/
         i
-          | Copyright &#169; 2017 The Apache Software Foundation, Licensed under the
+          | Copyright &#169;
+          = " " + Time.now.year.to_s + " "
+          | The Apache Software Foundation, Licensed under the
           a href="http://www.apache.org/licenses/" Apache License, Version 2.0
           | .
         br/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message