summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index deb4edd4..d5ec57bf 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -292,7 +292,8 @@ Last edited <TMPL_VAR MTIME>
<TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
<script>
- // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later
+ // @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt txt CC0-1.0
+ // Copyright (C) 2021 Sacha Chua
if (document.querySelector('.times')) { document.querySelector('.times').prepend('Your local time: ~ ' + (new Date(document.querySelector('.times').getAttribute('start')).toLocaleString()) + ' to ~ ' + (new Date(document.querySelector('.times').getAttribute('end')).toLocaleString()) + "\n"); }
// @license-end
</script>