diff options
Diffstat (limited to 'juick-core/src')
-rw-r--r-- | juick-core/src/main/java/com/juick/util/DateFormatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-core/src/main/java/com/juick/util/DateFormatter.java b/juick-core/src/main/java/com/juick/util/DateFormatter.java index 34585c63..c4e7095b 100644 --- a/juick-core/src/main/java/com/juick/util/DateFormatter.java +++ b/juick-core/src/main/java/com/juick/util/DateFormatter.java @@ -13,7 +13,7 @@ import java.util.Date; public class DateFormatter { private final DateTimeFormatter formatter; - DateFormatter(String pattern) { + public DateFormatter(String pattern) { formatter = DateTimeFormatter.ofPattern(pattern); } |