mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
small style update
This commit is contained in:
@@ -19,9 +19,9 @@ object Formatter {
|
|||||||
val year = dateTime.toString(YEAR_PATTERN)
|
val year = dateTime.toString(YEAR_PATTERN)
|
||||||
val monthIndex = Integer.valueOf(dayCode.substring(4, 6))!! - 1
|
val monthIndex = Integer.valueOf(dayCode.substring(4, 6))!! - 1
|
||||||
val month = getMonthName(context, monthIndex)
|
val month = getMonthName(context, monthIndex)
|
||||||
var date = month + " " + day
|
var date = "$month $day"
|
||||||
if (year != DateTime().toString(YEAR_PATTERN))
|
if (year != DateTime().toString(YEAR_PATTERN))
|
||||||
date += " " + year
|
date += " $year"
|
||||||
return date
|
return date
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user