js实现将秒数格式化为HH:MM:SS的形式
摘要:
function formatSeconds(value) { let secondTime = parseInt(value); let minuteTime = 0; let hourTime = 0; if (secondTime >= 60) { minuteTime = parseInt( 阅读全文
posted @ 2023-04-07 23:54 Mikasa-Ackerman 阅读(185) 评论(0) 推荐(0) 编辑