.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
position: relative;
width: 100%;
min-height: 1px;
padding-right: 5px;
padding-left: 5px;
}
.container {
max-width: 972px;
margin: 0 auto;
width: 100%;
padding-right: 5px;
padding-left: 5px;
}
/* clock in header
====================================================*/
var now = moment();
var clock = document.getElementById("js-clock-content");
moment.locale('en-gb');
window.setInterval(function(){
clock.innerHTML = moment().tz("Europe/London").format('HH:mm:ss');
}, 1000);
moment().tz("Europe/Berlin");
moment-timezone.js:476 Moment Timezone has no data for Europe/Berlin. See http://momentjs.com/timezone/docs/#/data-loading/
moment().tz()
moment.tz()
var now = moment();
var clock = document.getElementById("js-clock-content");
moment.locale('en-gb');
moment().tz.setDefault("Europe/London");
window.setInterval(function(){
clock.innerHTML = moment().format('HH:mm:ss');
}, 1000);
<script src="assets/libs/moment/min/moment-with-locales.min.js"></script>
<script src="assets/libs/moment-timezone/moment-timezone.js"></script>
moment().tz.setDefault("Europe/London");
jquery.min.js:2 Uncaught TypeError: Cannot read property 'setDefault' of undefined
at HTMLDocument.<anonymous> (main.js? [sm]:7)
at j (jquery.min.js:2)
at k (jquery.min.js:2)