aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/util')
-rw-r--r--src/main/java/com/juick/util/PrettyTimeFormatter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/util/PrettyTimeFormatter.java b/src/main/java/com/juick/util/PrettyTimeFormatter.java
index 34a230f5..79240eb2 100644
--- a/src/main/java/com/juick/util/PrettyTimeFormatter.java
+++ b/src/main/java/com/juick/util/PrettyTimeFormatter.java
@@ -19,6 +19,7 @@ package com.juick.util;
import org.ocpsoft.prettytime.PrettyTime;
+import java.time.Instant;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Locale;
@@ -39,7 +40,7 @@ public class PrettyTimeFormatter {
}
};
- public String format(final Locale locale, final Date value)
+ public String format(final Locale locale, final Instant value)
{
PrettyTime prettyTime;