From ac929debefbfbeb7bd9b91a871044a00fcf05072 Mon Sep 17 00:00:00 2001 From: Andy Klimczak Date: Fri, 3 Feb 2017 17:20:16 -0500 Subject: [PATCH] Fix issue #276 (#287) Fix 24 hour time format to use 0-23 hour (HH) instead of 1-24 hour (kk) --- .../app/src/main/java/org/floens/chan/ui/helper/PostHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clover/app/src/main/java/org/floens/chan/ui/helper/PostHelper.java b/Clover/app/src/main/java/org/floens/chan/ui/helper/PostHelper.java index f739eb69..99c9c8e8 100644 --- a/Clover/app/src/main/java/org/floens/chan/ui/helper/PostHelper.java +++ b/Clover/app/src/main/java/org/floens/chan/ui/helper/PostHelper.java @@ -86,7 +86,7 @@ public class PostHelper { } } - private static SimpleDateFormat dateFormat = new SimpleDateFormat("LL/dd/yy(EEE)kk:mm:ss", Locale.US); + private static SimpleDateFormat dateFormat = new SimpleDateFormat("LL/dd/yy(EEE)HH:mm:ss", Locale.US); private static Date tmpDate = new Date(); public static String getLocalDate(Post post) {