mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 12:27:11 +01:00
Minor fix for "Cake day" parsing
It now only shows the date
This commit is contained in:
parent
2af6c5a742
commit
6e7256d9a5
@ -46,6 +46,7 @@ public class ParseUserData {
|
|||||||
int instance_id = personJson.getInt("instance_id");
|
int instance_id = personJson.getInt("instance_id");
|
||||||
|
|
||||||
String cakeday = personJson.getString(JSONUtils.PUBLISHED);
|
String cakeday = personJson.getString(JSONUtils.PUBLISHED);
|
||||||
|
cakeday = cakeday.substring(0, cakeday.indexOf("T"));
|
||||||
boolean isBot = personJson.getBoolean("bot_account");
|
boolean isBot = personJson.getBoolean("bot_account");
|
||||||
boolean isBanned = personJson.getBoolean("banned");
|
boolean isBanned = personJson.getBoolean("banned");
|
||||||
boolean isLocal = personJson.getBoolean("local");
|
boolean isLocal = personJson.getBoolean("local");
|
||||||
|
Loading…
Reference in New Issue
Block a user