qinxuehan


qinxuehan

  • 时间格式化及计算方法

    published 1.2.2 5 years ago
  • 使用方法: import format from 'date-format-change' alert(format('YYYY-MM-DD hh:mm:ss',1551587677836)) 第一个参数:(时间格式)必填 第二个参数:(时间戳)不传时默认获取当前时间

    published 1.0.1 5 years ago