问题遇到的现象和发生背景
问题相关代码,请勿粘贴截图
const mydate = new Date();
const hours = ((mydate.getHours() + 11) % 12) + 1;
const minutes = mydate.getMinutes();
const seconds = mydate.getSeconds();
const hdegree = hours * 30;
const mdegree = minutes * 6;
const sdegree = seconds * 6;