diff options
author | Daniel Hansson <enoch85@gmail.com> | 2015-03-24 13:41:55 +0100 |
---|---|---|
committer | Daniel Hansson <enoch85@gmail.com> | 2015-03-24 13:41:55 +0100 |
commit | 8ee1fa98df8e0095ed94ff60421b2fdd9eb6224f (patch) | |
tree | 6b153b9a06ce001c9002927e6ab786a18135bd20 | |
parent | 302c19067a5ba81c0aa76ac93733049a2bba374b (diff) | |
download | nextcloud-server-8ee1fa98df8e0095ed94ff60421b2fdd9eb6224f.tar.gz nextcloud-server-8ee1fa98df8e0095ed94ff60421b2fdd9eb6224f.zip |
Don't use hardcoded date and time
Use local time instead. http://momentjs.com/
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); }, |