fengxiang
2018-04-26 82007c3574640614f688479cc6c6e2ef5d729dbd
Date 时间不做 精确处理
1 files modified
2 ■■■ changed files
src/main/java/com/moral/common/convert/StringToDateConverter.java 2 ●●● patch | view | raw | blame | history
src/main/java/com/moral/common/convert/StringToDateConverter.java
@@ -22,7 +22,7 @@
          if(StringUtils.isNullOrEmpty(source)){
              throw new RuntimeException(String.format("parser %s to Date fail", source));
          };
          return  new Date(Long.parseLong(source.substring(0,source.length()-3)+"000"));
          return  new Date(Long.parseLong(source));
    }
}