mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-11 20:03:36 +00:00
Fix log save
This commit is contained in:
parent
05e5ac2ad2
commit
3c93539e02
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user