Y-m-d H:i'', time);
} else if (time_deff >= 172800) {
retrun = "前天 " + formatDate(''H:i'', time);
} else if (time_deff >= 86400) {
retrun = "昨天" + formatDate(''H:i'', time);
} else if (time_deff >= 3600) {
hour = parseInt(time_deff / 3600);
minute = parseInt((time_deff % 3600) / 60);
retrun = hour + ''小时'';
if (minute > 0) {
retrun += minute + ''分钟'';
}
retrun += ''前'';
} else if (time_deff >= 60) {
minute = parseInt($time_deff / 60);
second = time_deff % 60;
retrun = minute + ''分'';
if (second > 0) {
retrun += second + ''秒'';
}
retrun += ''前'';
}else{
retrun = time_deff +''秒前'';
}
return retrun;
}