1
1
mirror of https://github.com/geekfrog/PermissionsTime.git synced 2024-11-22 07:28:47 +00:00
This commit is contained in:
GeekFrog 2017-07-16 19:32:41 +08:00
parent aa74ac26e1
commit 7a49606850

View File

@ -10,7 +10,7 @@ public class StrUtil {
private static String dfs = "yyyy/MM/dd HH:mm:ss"; private static String dfs = "yyyy/MM/dd HH:mm:ss";
public static String messageFormat(String src, Object... args) { public static String messageFormat(String src, Object... args) {
return MessageFormat.format(src, args).replace("&", "§"); return MessageFormat.format(src, args).replace("&", "§").replace("\\n", "\n");
} }
public static String timestampToString(long time) { public static String timestampToString(long time) {