2
0
Fork 0
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:
Jeff Atwood 2017-05-18 17:14:07 -07:00
parent 5e88794a65
commit ef2811f39a

View file

@ -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');
}
}