aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src/main')
-rw-r--r--juick-core/src/main/java/com/juick/util/DateFormatter.java2
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 34585c634..c4e7095b0 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);
}