Commit 883d34b01b4c7cbff1eff2ef4de163a0f123b30e

Authored by 陈浩
1 parent 7a28bac0

update

src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -60,8 +60,8 @@ public class VideosServiceImpl {
60 60 Timestamp startdate = null;
61 61 Timestamp enddate = null;
62 62 try {
63   - startdate = CommonUtils.parseDate(start_date,"YYYY-MM-DD HH:MM:SS");
64   - enddate = CommonUtils.parseDate(end_date, "YYYY-MM-DD HH:MM:SS");
  63 + startdate = CommonUtils.parseDate(start_date,"yyyy-MM-dd HH:mm:ss");
  64 + enddate = CommonUtils.parseDate(end_date, "yyyy-MM-dd HH:mm:ss");
65 65 } catch (ParseException e) {
66 66 e.printStackTrace();
67 67 }
... ...
src/main/resources/templates/page/video.html
... ... @@ -230,7 +230,7 @@
230 230  
231 231 /*时间插件*/
232 232 $('.date').datetimepicker({
233   - format: 'YYYY-MM-DD HH:MM:SS',
  233 + format: 'YYYY-MM-DD HH:mm:ss',
234 234 locale: "zh-CN",
235 235 toolbarPlacement: 'bottom',
236 236 showClear: true,
... ...