@@ -451,6 +451,9 @@ public class DateFunc {
}
public static String getPassTime(Date date) {
+ if(date == null) {
+ return null;
+ }
long second = (System.currentTimeMillis() - date.getTime())/1000;
if(second < 60) {
return "刚刚";