2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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(" ");
}
}