Merge pull request #15151 from owncloud/use-local-time
Don't use hardcoded date and time
This commit is contained in:
commit
cc2092a511
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue