summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hansson <enoch85@gmail.com>2015-03-23 22:05:44 +0100
committerDaniel Hansson <enoch85@gmail.com>2015-03-23 22:05:44 +0100
commit8279dde97a8f93b74eb733d243d6a5bb41aa15e3 (patch)
tree7812cb733e648cddd0945b827db06957e87a17b1
parent10eeb351674edab23555d978d809f5df53607daf (diff)
downloadnextcloud-server-8279dde97a8f93b74eb733d243d6a5bb41aa15e3.tar.gz
nextcloud-server-8279dde97a8f93b74eb733d243d6a5bb41aa15e3.zip
Change to 24H format instead of 12H format
Update how the time shows in WebUI. My first PR to core, woha. :)
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index f24694124ad..e65b33d8607 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -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);
},