yu199195 commented on issue #8722:
URL: https://github.com/apache/shardingsphere/issues/8722#issuecomment-749914360
@singlemonkey
1. you can format shardingValue to yyyy-MM-dd HH:mm:ss or other pattern?
2. you javabean will used date?
@tristaZero this code maybe refactor...
```
private LocalDateTime parseDateTime(final String value) {
return LocalDateTime.parse(value.substring(0, dateTimePatternLength),
dateTimeFormatter);
}
to
private LocalDateTime parseDateTime(final String value) {
return LocalDateTime.parse(value, dateTimeFormatter);
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]