From fb704c73881834e278445ef847c22c793b0557e7 Mon Sep 17 00:00:00 2001 From: gdlbo <41114720+gdlbo@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:03:39 +0300 Subject: [PATCH] fix msg loading --- app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java b/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java index 621b92396..1967409ae 100644 --- a/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java +++ b/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java @@ -40,7 +40,7 @@ public class FoafBase { if (!matcher.find()) { return 0; } - return (int) (new SimpleDateFormat(getDateFormat(), Locale.getDefault()).parse(matcher.group(1)).getTime() / 1000); + return (int) (new SimpleDateFormat("yyyy-MM-dd'T'kk:mm:ss", Locale.getDefault()).parse(matcher.group(1)).getTime() / 1000); } public static long GetLastSeenLong(int i) throws ParseException, IOException {