com web/shared: Make year in the footer 4 digits long: templates/footer.inc
| From: | Peter Kokot | Date: | Thu, 18 Oct 2018 17:58:50 +0000 |
| Subject: | com web/shared: Make year in the footer 4 digits long: templates/footer.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27350@lists.php.net to get a copy of this message | ||
Commit: 28df00e01e918fc1c0304babda6cd2e855aa1aaa
Author: Peter Kokot <peterkokot@gmail.com> Thu, 18 Oct 2018 19:58:50 +0200
Parents: 2745879c115ec96ec2fd18662cbe12aa788fed41
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=28df00e01e918fc1c0304babda6cd2e855aa1aaa
Log:
Make year in the footer 4 digits long
Changed paths:
M templates/footer.inc
Diff:
diff --git a/templates/footer.inc b/templates/footer.inc
index 8137bde..e6a5851 100644
--- a/templates/footer.inc
+++ b/templates/footer.inc
@@ -24,7 +24,7 @@ $ROOT = substr($_SERVER["SERVER_NAME"], -8) == ".php.net" ?
"//shared.php.net" :
<footer>
<nav class="fullscreen">
<ul>
- <li><a href="//php.net/copyright">Copyright © 2001-<?php echo
date('y'); ?> The PHP Group</a></li>
+ <li><a href="//php.net/copyright">Copyright © 2001-<?php echo
date('Y'); ?> The PHP Group</a></li>
<li><a href="//php.net/sites">Other PHP.net sites</a></li>
<li><a href="//php.net/privacy">Privacy policy</a></li>
</ul>