@lzwme/fe-utils
    Preparing search index...

    Function arriveTimerFormat

    • 秒数转换为相差时间

      Parameters

      • second: string | number
      • dayDesc: string = 'day '

      Returns readonly [number, number, number, number, string]

      arriveTimerFormat(123); => [0, 0, 2, 3, '00:02:03'];
      arriveTimerFormat(1521580); // => [17, 14, 39, 40, '17day 14:39:40']