hugo-theme-introduction/assets/js/initMoment.js
2018-07-29 09:21:19 +02:00

4 lines
142 B
JavaScript

$(document).ready(function() {
var time = moment().tz("{{ .Site.Params.home.timeZone }}").format("h:mm A");
$("#time").html(time);
})