mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
ktlint: A comment in a 'value_argument_list' is only allowed when placed on a separate line
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
f2da9b93de
commit
ae9c092997
@ -37,14 +37,17 @@ class DateUtils(val context: Context) {
|
|||||||
|
|
||||||
/* date formatter in local timezone and locale */
|
/* date formatter in local timezone and locale */
|
||||||
private var format: DateFormat = DateFormat.getDateTimeInstance(
|
private var format: DateFormat = DateFormat.getDateTimeInstance(
|
||||||
DateFormat.DEFAULT, // dateStyle
|
// dateStyle
|
||||||
DateFormat.SHORT, // timeStyle
|
DateFormat.DEFAULT,
|
||||||
|
// timeStyle
|
||||||
|
DateFormat.SHORT,
|
||||||
context.resources.configuration.locales[0]
|
context.resources.configuration.locales[0]
|
||||||
)
|
)
|
||||||
|
|
||||||
/* date formatter in local timezone and locale */
|
/* date formatter in local timezone and locale */
|
||||||
private var formatTime: DateFormat = DateFormat.getTimeInstance(
|
private var formatTime: DateFormat = DateFormat.getTimeInstance(
|
||||||
DateFormat.SHORT, // timeStyle
|
// timeStyle
|
||||||
|
DateFormat.SHORT,
|
||||||
context.resources.configuration.locales[0]
|
context.resources.configuration.locales[0]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user