]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change to 24H format instead of 12H format
authorDaniel Hansson <enoch85@gmail.com>
Mon, 23 Mar 2015 21:05:44 +0000 (22:05 +0100)
committerDaniel Hansson <enoch85@gmail.com>
Mon, 23 Mar 2015 21:05:44 +0000 (22:05 +0100)
Update how the time shows in WebUI.

My first PR to core, woha. :)

core/js/js.js

index f24694124ad7f7531a0f09e3fc096b76a37c6973..e65b33d86077d4797643cc0efae4961e487abbc8 100644 (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);
        },