diff --git a/Essentials/src/com/earth2me/essentials/utils/DateUtil.java b/Essentials/src/com/earth2me/essentials/utils/DateUtil.java index 804a1cda6..77a374f88 100644 --- a/Essentials/src/com/earth2me/essentials/utils/DateUtil.java +++ b/Essentials/src/com/earth2me/essentials/utils/DateUtil.java @@ -13,7 +13,7 @@ public class DateUtil public static String removeTimePattern(String input) { - return timePattern.matcher(input).replaceAll("").trim(); + return timePattern.matcher(input).replaceFirst("").trim(); } public static long parseDateDiff(String time, boolean future) throws Exception