Skip to content

Commit

Permalink
small style update
Browse files Browse the repository at this point in the history
  • Loading branch information
tibbi committed Dec 18, 2016
1 parent 0d37b0f commit ecd384f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ecd384f

Please sign in to comment.