diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-16 17:15:02 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-16 17:20:10 +0300 |
commit | 8d301d8300d7839696b398fde2a547bb6037cb94 (patch) | |
tree | efc93e3cf1974beb0cc594f54c26eea134e5f458 /js/notification.js | |
parent | f6614962df78d190d56a06ecd6dca6c7662f6d33 (diff) |
Use ISO date instead of the timestamp
Diffstat (limited to 'js/notification.js')
-rw-r--r-- | js/notification.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/notification.js b/js/notification.js index 0cc6632..b7fca36 100644 --- a/js/notification.js +++ b/js/notification.js @@ -17,7 +17,7 @@ // TODO handle defaults this.app = jsonData.app; this.user = jsonData.user; - this.timestamp = jsonData.timestamp; + this.timestamp = moment(jsonData.datetime).format('X'); this.object_type = jsonData.object_type; this.object_id = jsonData.object_id; this.subject = jsonData.subject; |