Fix grade date format
This commit is contained in:
parent
4ef106e4c9
commit
24b5b16f72
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ internal fun List<HebeGrade>.mapGrades() = Grades(
|
|||
description = it.column.name,
|
||||
color = it.column.color.toString(16).uppercase(),
|
||||
teacher = "${it.creator.name} ${it.creator.surname}",
|
||||
date = LocalDate.parse(it.dateCreated.date, DateTimeFormatter.ofPattern("yyyy.MM.dd")),
|
||||
date = LocalDate.parse(it.dateCreated.date, DateTimeFormatter.ofPattern("yyyy-MM-dd")),
|
||||
)
|
||||
},
|
||||
summary = listOf(),
|
||||
|
|
Loading…
Reference in a new issue