Skip to content

Commit

Permalink
fix: LocalDateTime Response 포맷터 변경(12시간제 -> 24시간제)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihwan2da committed Feb 21, 2024
1 parent 12642a3 commit 10f8292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import java.time.LocalDateTime
import java.time.format.DateTimeFormatter.*

fun LocalDateTime.toResponse(): String =
this.format(ofPattern("yyyy-MM-dd hh:mm"))
this.format(ofPattern("yyyy-MM-dd HH:mm"))
.replace(" ", "T")

0 comments on commit 10f8292

Please sign in to comment.