small style update
This commit is contained in:
parent
0d37b0f100
commit
ecd384f1af
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ object Formatter {
|
|||
val year = dateTime.toString(YEAR_PATTERN)
|
||||
val monthIndex = Integer.valueOf(dayCode.substring(4, 6))!! - 1
|
||||
val month = getMonthName(context, monthIndex)
|
||||
var date = month + " " + day
|
||||
var date = "$month $day"
|
||||
if (year != DateTime().toString(YEAR_PATTERN))
|
||||
date += " " + year
|
||||
date += " $year"
|
||||
return date
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue