From 8095809c3fc3a295df4b4281c0e7193ec44ad5ac Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 19 May 2015 10:11:48 +0930 Subject: [PATCH] Prevent moment deprecation warning --- framework/core/js/forum/src/components/stream-item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/components/stream-item.js b/framework/core/js/forum/src/components/stream-item.js index c8fd194db..7a6512e27 100644 --- a/framework/core/js/forum/src/components/stream-item.js +++ b/framework/core/js/forum/src/components/stream-item.js @@ -32,7 +32,7 @@ export default class StreamItem extends Component { 'data-end': item.end }; if (!gap) { - attributes['data-time'] = item.post.time(); + attributes['data-time'] = item.post.time().toISOString(); attributes['data-number'] = item.post.number(); } else { attributes['config'] = (element) => {