Browse Source

feat: current year

Sv443 1 month ago
parent
commit
8201b416c4
3 changed files with 5 additions and 2 deletions
  1. 1 1
      LICENSE.txt
  2. 1 1
      docs/raw/index.html
  3. 3 0
      docs/raw/index.js

+ 1 - 1
LICENSE.txt

@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2018-2021 Sven Fehler & The Sv443 Network
+Copyright (c) 2018-2025 Sven Fehler & The Sv443 Network
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 1 - 1
docs/raw/index.html

@@ -1691,7 +1691,7 @@ namespace TestHttpRequest
                 <br><br><br><br>
     
                 <footer id="copyrightNotice">
-                    <span>&copy; Copyright 2018-2021 Sv443 - licensed under the <a href="https://sv443.net/LICENSE" target="_blank">MIT license</a></span><br>
+                    <span>&copy; Copyright 2018-<span class="insert-current-year">2025</span> Sv443 - licensed under the <a href="https://sv443.net/LICENSE" target="_blank">MIT license</a></span><br>
                     <span>This project is a part of the <a href="https://sv443.net/" target="_blank">Sv443 Network</a></span>
                 </footer>
             </main>

+ 3 - 0
docs/raw/index.js

@@ -173,6 +173,9 @@ function onLoad()
         clearOnInitElems[j].value = "";
     }
 
+    // insert dates
+    document.querySelectorAll(".insert-current-year").forEach((e) => e.innerText = new Date().getFullYear());
+
     try
     {
         var fileFormats = JSON.parse('<!--%#INSERT:FILEFORMATARRAY#%-->');