mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
simplify time formats for set topic timer
This commit is contained in:
parent
5e88794a65
commit
ef2811f39a
1 changed files with 2 additions and 2 deletions
|
@ -110,9 +110,9 @@ export default Combobox.extend({
|
|||
|
||||
if (time) {
|
||||
if (state.id === LATER_TODAY) {
|
||||
time = time.format('hh:mm a');
|
||||
time = time.format('h a');
|
||||
} else {
|
||||
time = time.format('ddd, hh:mm a');
|
||||
time = time.format('ddd, h a');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue