The error is : You use moment each time to get the hours,mins,secs So the add is not reflected
Fixed block is:
var m = moment().tz("America/Los_Angeles");
if (window.milliAdd2) {
m = moment().add(window.milliAdd2, "ms").tz("America/Los_Angeles");
}
var laHr = m.hour();
var laMin = m.tz("America/Los_Angeles").minute();
var laSec = m.tz("America/Los_Angeles").second();
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…