fix: type error for subscription

This commit is contained in:
metacubex
2022-12-10 13:42:28 +08:00
parent c6084c67a5
commit 2ab1571e3a
3 changed files with 3 additions and 3 deletions

View File

@@ -72,5 +72,5 @@ fun Double.toProgress(): Int {
}
fun Long.toDateStr(): String {
val simpleDateFormat =SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
return simpleDateFormat.format(Date(this*1000))
return simpleDateFormat.format(Date(this))
}