Fix log save

This commit is contained in:
残页 2022-06-01 18:10:07 +08:00 committed by GitHub
parent 05e5ac2ad2
commit 3c93539e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,10 @@ inline fun <T, R> Flow<T>.concurrentMap(crossinline transform: suspend (T) -> R)
fun Long.toTime(format: DateFormat) = format.format(this).orEmpty()
// Some devices don't allow filenames containing ":"
val timeFormatStandard by lazy {
SimpleDateFormat(
"yyyy-MM-dd'T'HH:mm:ss",
"yyyy-MM-dd'T'HH.mm.ss",
currentLocale
)
}