|
@@ -554,7 +554,7 @@ public class DateUtils extends PropertyEditorSupport {
|
|
|
|
|
|
public static Map<String, Object> getStartEndTime(String createTime) throws ParseException {
|
|
|
|
|
|
- SimpleDateFormat smf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
+ SimpleDateFormat smf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
Date parse = smf.parse(createTime);
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
|
calendar.setTime(parse);
|