Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit 9bfa54b

Browse files
Merge pull request #157 from yevhenii-kanivets/153_chage_date_format_in_contest_card
#153. Change date format in Contest card.
2 parents 15021d7 + 4606b8a commit 9bfa54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/bogdan/codeforceswatcher/adapter/ContestAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ContestAdapter(private var items: List<Contest>, private val ctx: Context)
4949
}
5050

5151
private fun getDateTime(seconds: Long): String {
52-
return SimpleDateFormat("kk:mm MMM d, yyyy", Locale.ENGLISH).format(Date(seconds * 1000)).toString()
52+
return SimpleDateFormat("kk:mm MMM d, EEEE", Locale.ENGLISH).format(Date(seconds * 1000)).toString()
5353
}
5454

5555
private fun getCalendarTime(time: Long): String {

0 commit comments

Comments
 (0)