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:
parent
6d0ba74b98
commit
6171141211
2 changed files with 20 additions and 11 deletions
|
@ -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(" ");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue