修复了排序问题

This commit is contained in:
zxj
2025-07-28 17:09:24 +08:00
parent ca081f659b
commit cc317117bc
4 changed files with 100 additions and 67 deletions
@@ -2,6 +2,7 @@ package com.sw.inbound.utils
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.flow
import timber.log.Timber
import java.text.SimpleDateFormat
import java.util.Date
import java.util.Locale
@@ -67,7 +68,8 @@ object DateTimeUtils {
val format = SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault())
format.parse(timeString)
} catch (e: Exception) {
e.printStackTrace()
// e.printStackTrace()
Timber.e(e.message)
null
}
}