diff options
author | Sacha Chua <sacha@sachachua.com> | 2021-11-16 10:11:55 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2021-11-16 10:11:55 -0500 |
commit | e75a8b28a5947140c27320454586d6dfbf0f7063 (patch) | |
tree | 1851806973634ea4af8c9bc53aa04921339c8b58 /templates | |
parent | c78f4a81f34f7865cf7d72150c037ffd52e6f0b1 (diff) | |
download | emacsconf-wiki-e75a8b28a5947140c27320454586d6dfbf0f7063.tar.xz emacsconf-wiki-e75a8b28a5947140c27320454586d6dfbf0f7063.zip |
Let's try local time
Diffstat (limited to '')
-rw-r--r-- | templates/page.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index 0ccf7af6..dc804fd2 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -39,6 +39,12 @@ <script> // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later + 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> + +<script> + // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later /* SeekToTime - simple script to add video time jump functionality to timestamp links |