因为hutool的maven依赖
fun ZonedDateTime.toLocalDateStr(): String =
DateTimeFormatter.ofPattern(DatePattern.CHINESE_DATE_PATTERN).format(this.withZoneSameInstant(ZoneId.of("UTC+8")))
val createdAt: ZonedDateTime = ZonedDateTime.now()
val createdAtStr = createdAt.toLocalDateStr()