How to display my time in 24h instead of 12?
I am using moment.js.
I am sure that these lines may have something to do with it.
meridiem : function (hours, minutes, isLower) { if (hours > 11) { return isLower ? 'pm' : 'PM'; } else { return isLower ? 'am' : 'AM'; } },
How to change it?
javascript momentjs
Richard Stenstierna Oct 19 2018-12-12T00: 00Z
source share