From ecd384f1af8188969ad6988ca899d8e3342b0c87 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 18 Dec 2016 16:35:30 +0100 Subject: [PATCH] small style update --- .../com/simplemobiletools/calendar/helpers/Formatter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt index 1ca1e71a1..ac56d8416 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt @@ -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 }