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
path: root/assets
diff options
context:
space:
mode:
authorMaximilian Bosche <snow2k9@users.noreply.github.com>2019-01-13 11:24:53 +0300
committerHanzei <16541325+hanzei@users.noreply.github.com>2019-01-13 11:24:53 +0300
commit819c0588650c23a85e6d1b10fc1a47c2db72a5ec (patch)
treefc3b26c6922a8194cf9b6f44f58a76d8295bf421 /assets
parent9122e99c437b14aff1c965665e3d7177868db2bd (diff)
Added parameter for timeformat (#124)
Diffstat (limited to 'assets')
-rw-r--r--assets/js/initMoment.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/initMoment.js b/assets/js/initMoment.js
index 609f671..e638cf1 100644
--- a/assets/js/initMoment.js
+++ b/assets/js/initMoment.js
@@ -1,4 +1,4 @@
$(document).ready(function() {
- var time = moment().tz("{{ .Site.Params.home.timeZone }}").format("h:mm A");
+ var time = moment().tz("{{ .Site.Params.home.timeZone }}").format("{{ .Site.Params.home.timeFormat }}");
$("#time").html(time);
})