JS的(new Date()).toLocaleString,系统设置为24小时,仍然显示为12小时。 var time = new Date().toLocaleString('chinese',{hour12:false});