Time format to 24 hours

I would like to change the time format to 24 hours (from 3:00 PM to 15:00). To what do I need to change the current, h:mma and h:mm a? Thanks!

Answering my own question. It seems Discourse uses Moment.js format string. In the case of my request, it is simply a matter of changing h:mma and hmm a to HH:mm. More references on the Moment.js format page.

I hope I did not break things! :slight_smile:

4 Likes

Hi! I didn’t realize how to do it in Discourse. What exactly did you do to change time format to 24 hours?