var time = new Date().toLocaleString('chinese',{hour12:false});
JS的(new Date()).toLocaleString,系统设置为24小时,仍然显示为12小时。
猜你喜欢
转载自www.cnblogs.com/apolloren/p/12440932.html
今日推荐
周排行