Minor fix for "Cake day" parsing

It now only shows the date
This commit is contained in:
Bazsalanszky 2023-08-04 15:59:18 +02:00
parent 2af6c5a742
commit 6e7256d9a5

View File

@ -46,6 +46,7 @@ public class ParseUserData {
int instance_id = personJson.getInt("instance_id");
String cakeday = personJson.getString(JSONUtils.PUBLISHED);
cakeday = cakeday.substring(0, cakeday.indexOf("T"));
boolean isBot = personJson.getBoolean("bot_account");
boolean isBanned = personJson.getBoolean("banned");
boolean isLocal = personJson.getBoolean("local");