mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 02:51:14 +08:00
UX: displays full date time when displaying ranges (#9386)
This commit is contained in:
@ -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(" ");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user