DateTimeFormatter formatter = new DateTimeFormatterBuilder().appendPattern("dd/MMM/yyyy:HH:mm:ss") .toFormatter(Locale.CHINA); LocalDateTime localDate = LocalDateTime.parse(model.getTimestamp().replace(" +0800", ""), formatter);
2022-10-13 21:15:16
DateTimeFormatter formatter = new DateTimeFormatterBuilder().appendPattern("dd/MMM/yyyy:HH:mm:ss") .toFormatter(Locale.CHINA); LocalDateTime localDate = LocalDateTime.parse(model.getTimestamp().replace(" +0800", ""), formatter);