convertDateToDay

fun convertDateToDay(context: Context, dateString: String): String

Convert the given date to a day.

If the date is today, return "Today". Otherwise, return the day of the week in short format.

Return

The date in day format.

Parameters

context

The context.

dateString

The date to convert.