|
@@ -525,7 +525,7 @@ public class DateTimeUtil {
|
|
|
String timeRange;
|
|
String timeRange;
|
|
|
if (localDateTime1.toLocalDate().isEqual(localDateTime2.toLocalDate())) {
|
|
if (localDateTime1.toLocalDate().isEqual(localDateTime2.toLocalDate())) {
|
|
|
datePart = localDateTime1.format(dateFormatter);
|
|
datePart = localDateTime1.format(dateFormatter);
|
|
|
- timeRange = localDateTime2.format(timeFormatter) + " – " + localDateTime2.format(timeFormatter);
|
|
|
|
|
|
|
+ timeRange = localDateTime1.format(timeFormatter) + " – " + localDateTime2.format(timeFormatter);
|
|
|
return datePart + " " + timeRange;
|
|
return datePart + " " + timeRange;
|
|
|
} else {
|
|
} else {
|
|
|
DateTimeFormatter dateFormatter2 = DateTimeFormatter.ofPattern("yyyy年M月d日 E HH:mm", Locale.CHINA);
|
|
DateTimeFormatter dateFormatter2 = DateTimeFormatter.ofPattern("yyyy年M月d日 E HH:mm", Locale.CHINA);
|