mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
lint: Set locale
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
ef273cf9ff
commit
c91631a642
@ -30,10 +30,11 @@ import java.io.FileNotFoundException
|
|||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
object LoggingUtils {
|
object LoggingUtils {
|
||||||
fun writeLogEntryToFile(context: Context, logEntry: String) {
|
fun writeLogEntryToFile(context: Context, logEntry: String) {
|
||||||
val dateFormat = SimpleDateFormat("yyyy/MM/dd HH:mm:ss")
|
val dateFormat = SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.ROOT)
|
||||||
val date = Date()
|
val date = Date()
|
||||||
val logEntryWithDateTime = dateFormat.format(date) + ": " + logEntry + "\n"
|
val logEntryWithDateTime = dateFormat.format(date) + ": " + logEntry + "\n"
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
DO NOT TOUCH; GENERATED BY DRONE
|
DO NOT TOUCH; GENERATED BY DRONE
|
||||||
<span class="mdl-layout-title">Lint Report: 3 errors and 347 warnings</span>
|
<span class="mdl-layout-title">Lint Report: 3 errors and 346 warnings</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user