Unverified Commit 3c93539e authored by 残页's avatar 残页 Committed by GitHub

Fix log save

parent 05e5ac2a
...@@ -60,9 +60,10 @@ inline fun <T, R> Flow<T>.concurrentMap(crossinline transform: suspend (T) -> R) ...@@ -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() fun Long.toTime(format: DateFormat) = format.format(this).orEmpty()
// Some devices don't allow filenames containing ":"
val timeFormatStandard by lazy { val timeFormatStandard by lazy {
SimpleDateFormat( SimpleDateFormat(
"yyyy-MM-dd'T'HH:mm:ss", "yyyy-MM-dd'T'HH.mm.ss",
currentLocale currentLocale
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment