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

Don't use hardcoded date and time
This commit is contained in:
Daniel Hansson 2015-03-24 14:31:36 +01:00
commit cc2092a511
1 changed files with 1 additions and 1 deletions

View 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 || "LLL";
return moment(timestamp).format(format);
},