Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-11-16 17:15:02 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2015-11-16 17:20:10 +0300
commit8d301d8300d7839696b398fde2a547bb6037cb94 (patch)
treeefc93e3cf1974beb0cc594f54c26eea134e5f458 /js/notification.js
parentf6614962df78d190d56a06ecd6dca6c7662f6d33 (diff)
Use ISO date instead of the timestamp
Diffstat (limited to 'js/notification.js')
-rw-r--r--js/notification.js2
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;