diff options
author | Vitaly Takmazov | 2023-01-29 05:44:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-30 23:49:25 +0300 |
commit | f8a7d417cb916b81cfa685175f3e6afbe6063cee (patch) | |
tree | 3f6923f3f32540e8506ce5b43b610460b4c67559 /src/main/java/com/juick/util | |
parent | dd23559a978da8980675ad4089948ade9bbc323d (diff) |
SQLite support
Diffstat (limited to 'src/main/java/com/juick/util')
-rw-r--r-- | src/main/java/com/juick/util/PrettyTimeFormatter.java | 3 |
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; |