server/src/main/java/doumeemes/core/utils/DateUtil.java
@@ -2329,6 +2329,16 @@ return new Timestamp(System.currentTimeMillis()); } } public static Date getSdfShortDateFromString(String strDate) { if (StringUtils.isEmpty(strDate)) { return new Date(System.currentTimeMillis()); } try { return sdfShort.parse(strDate); } catch (Exception ex) { return new Timestamp(System.currentTimeMillis()); } } // -----------------------------------------------------------------------