Commit a28cb69cea4503dcf457ce3a7fdc0556bed91678
1 parent
d32e6a32
修改日期格式为“yyyy-MM-dd HH
ss”
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/cnlive/shenhe/controller/VideosController.java
| @@ -343,9 +343,9 @@ public class VideosController { | @@ -343,9 +343,9 @@ public class VideosController { | ||
| 343 | cell = row.createCell(10);//列 | 343 | cell = row.createCell(10);//列 |
| 344 | cell.setCellValue(shyVideosList.get(i).getVideo_id()); | 344 | cell.setCellValue(shyVideosList.get(i).getVideo_id()); |
| 345 | cell = row.createCell(11);//列 | 345 | cell = row.createCell(11);//列 |
| 346 | - cell.setCellValue(CommonUtils.formatDate(shyVideosList.get(i).getCreated_at(), "M/d/yyyy HH:mm:SS")); | 346 | + cell.setCellValue(CommonUtils.formatDate(shyVideosList.get(i).getCreated_at(), "yyyy-MM-dd HH:mm:ss")); |
| 347 | cell = row.createCell(12);//列 | 347 | cell = row.createCell(12);//列 |
| 348 | - cell.setCellValue(CommonUtils.formatDate(shyVideosList.get(i).getVideo_upload_time(), "M/d/yyyy HH:mm:SS")); | 348 | + cell.setCellValue(CommonUtils.formatDate(shyVideosList.get(i).getVideo_upload_time(), "yyyy-MM-dd HH:mm:ss")); |
| 349 | cell = row.createCell(13);//列 | 349 | cell = row.createCell(13);//列 |
| 350 | cell.setCellValue(shyVideosList.get(i).getDuration()); | 350 | cell.setCellValue(shyVideosList.get(i).getDuration()); |
| 351 | cell = row.createCell(14);//列 | 351 | cell = row.createCell(14);//列 |