Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/initMoment.js')
-rw-r--r--assets/js/initMoment.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/assets/js/initMoment.js b/assets/js/initMoment.js
deleted file mode 100644
index 9b7cb33..0000000
--- a/assets/js/initMoment.js
+++ /dev/null
@@ -1,11 +0,0 @@
-$(document).ready(function() {
- const tnode = $("#time")
- const update_localtime = function(){
- var time = moment()
- .tz(tnode.attr("data-time-zone"))
- .format(tnode.attr("data-time-format"));
- tnode.html(time);
- }
- update_localtime();
- setInterval(update_localtime, 1000);
-})