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,8 +60,8 @@ public class VideosServiceImpl {
60 Timestamp startdate = null; 60 Timestamp startdate = null;
61 Timestamp enddate = null; 61 Timestamp enddate = null;
62 try { 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 } catch (ParseException e) { 65 } catch (ParseException e) {
66 e.printStackTrace(); 66 e.printStackTrace();
67 } 67 }
src/main/resources/templates/page/video.html
@@ -230,7 +230,7 @@ @@ -230,7 +230,7 @@
230 230
231 /*时间插件*/ 231 /*时间插件*/
232 $('.date').datetimepicker({ 232 $('.date').datetimepicker({
233 - format: 'YYYY-MM-DD HH:MM:SS', 233 + format: 'YYYY-MM-DD HH:mm:ss',
234 locale: "zh-CN", 234 locale: "zh-CN",
235 toolbarPlacement: 'bottom', 235 toolbarPlacement: 'bottom',
236 showClear: true, 236 showClear: true,