From 8ee1fa98df8e0095ed94ff60421b2fdd9eb6224f Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Tue, 24 Mar 2015 13:41:55 +0100 Subject: [PATCH] Don't use hardcoded date and time Use local time instead. http://momentjs.com/ --- core/js/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/js.js b/core/js/js.js index e65b33d8607..00adcc514bc 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 || "LLL"; return moment(timestamp).format(format); }, -- 2.39.5