Merge pull request #15151 from owncloud/use-local-time

Don't use hardcoded date and time
remotes/origin/etag-endpoint
Daniel Hansson 10 years ago
commit cc2092a511
  1. 2
      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);
},

Loading…
Cancel
Save