Use 24h format instead of 12h format

Use correct time format in WebUI
This commit is contained in:
Daniel Hansson 2015-03-24 11:20:20 +01:00
parent ce5d2ab7db
commit 946a7c3a83

View file

@ -1338,7 +1338,7 @@ OC.Util = {
* @returns {string} timestamp formatted as requested
*/
formatDate: function (timestamp, format) {
format = format || "MMMM D, YYYY h:mm";
format = format || "MMMM D, YYYY H:mm";
return moment(timestamp).format(format);
},