UX: displays full date time when displaying ranges (#9386)

This commit is contained in:
Joffrey JAFFEUX
2020-04-08 11:44:06 +02:00
committed by GitHub
parent 6d0ba74b98
commit 6171141211
2 changed files with 20 additions and 11 deletions

View File

@ -154,9 +154,9 @@ export default class LocalDateBuilder {
} else {
const endRange = startRange.add(24, "hours");
return [
startRange.format(this.format || "LLLL"),
startRange.format("LLLL"),
RANGE_SEPARATOR,
endRange.format(this.format || "LLLL")
endRange.format("LLLL")
].join(" ");
}
}