Commit 42e7009a authored by yanzg's avatar yanzg

1.3版本修改,增加删除功能

parent 420f7f52
......@@ -500,11 +500,13 @@ public class DateHelper {
* @return
*/
public static String initDate(String from, String patchHour) {
if (StringHelper.isEmpty(from)) {
if (StringHelper.isEmpty(from, patchHour)) {
return from;
}
from = from.trim();
patchHour = patchHour.trim();
if (from.length() <= 10) {
return from + patchHour;
return from + " " + patchHour;
} else {
return from;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment