small style update

This commit is contained in:
tibbi 2016-12-18 16:35:30 +01:00
parent 0d37b0f100
commit ecd384f1af

View file

@ -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
}