summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hansson <enoch85@gmail.com>2015-03-24 14:31:36 +0100
committerDaniel Hansson <enoch85@gmail.com>2015-03-24 14:31:36 +0100
commitcc2092a511c3d09ac2e0eb0d4bf75a58f6f4366b (patch)
treee201df8d60645b6db2e7992a8d27d84ec1430fc9
parent331f0196e0678d9b3260019441360dbf8d1609c3 (diff)
parent8ee1fa98df8e0095ed94ff60421b2fdd9eb6224f (diff)
downloadnextcloud-server-cc2092a511c3d09ac2e0eb0d4bf75a58f6f4366b.tar.gz
nextcloud-server-cc2092a511c3d09ac2e0eb0d4bf75a58f6f4366b.zip
Merge pull request #15151 from owncloud/use-local-time
Don't use hardcoded date and time
-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 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);
},