/**
 * getDateDiff.js
 *
 * @Author: apple
 * @Date: 2018/5/11 15:44
 */

var getDateDiff = function getDateDiff(diffTime) {
  //将xxxx-xx-xx的时间格式，转换为 xxxx/xx/xx的格式
  var time = diffTime.replace(/\-/g, '/');
  return time;
};

export default getDateDiff;