mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 17:35:47 +08:00
simplify time formats for set topic timer
This commit is contained in:
parent
5e88794a65
commit
ef2811f39a
@ -110,9 +110,9 @@ export default Combobox.extend({
|
|||||||
|
|
||||||
if (time) {
|
if (time) {
|
||||||
if (state.id === LATER_TODAY) {
|
if (state.id === LATER_TODAY) {
|
||||||
time = time.format('hh:mm a');
|
time = time.format('h a');
|
||||||
} else {
|
} else {
|
||||||
time = time.format('ddd, hh:mm a');
|
time = time.format('ddd, h a');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user