Merge pull request #15143 from owncloud/24h-time-format

Use 24h format instead of 12h format
This commit is contained in:
Jan-Christoph Borchardt 2015-03-24 13:30:52 +01:00
commit 83580d08eb

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);
},