This commit is contained in:
tateisu 2020-01-31 17:08:38 +09:00
parent 5792a47133
commit 2b27456498
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ class ActAccountSetting
Styler.fixHorizontalPadding(root)
ActAppSetting.setSwitchColor(this, pref, root)
App1.setSwitchColor(this, pref, root)
tvInstance = findViewById(R.id.tvInstance)
tvUser = findViewById(R.id.tvUser)

View File

@ -1071,7 +1071,7 @@ class TootStatus(parser : TootParser, src : JsonObject) : TimelineItem() {
}
// 年の部分が現在と同じなら省略する
val dateNow = format.format(Date(t))
val dateNow = format.format(Date())
val delm = dateNow.indexOf('-')
if(delm!=-1 && dateNow.substring(0,delm+1) == dateTarget.substring(0,delm+1)){
dateTarget = dateTarget.substring(delm+1)