1.0.3 • Published 5 years ago
zhf.seconds-to-time v1.0.3
秒转时间(天时分秒)
const secondsToTime = require('zhf.seconds-to-time');
console.log(secondsToTime(1000)); // {day: 0, hours: 0, minutes: 16, seconds: 40, allSeconds: 1000}
const secondsToTime = require('zhf.seconds-to-time');
console.log(secondsToTime(1000)); // {day: 0, hours: 0, minutes: 16, seconds: 40, allSeconds: 1000}