Prevent moment deprecation warning

This commit is contained in:
Toby Zerner 2015-05-19 10:11:48 +09:30
parent ce742e416b
commit 8095809c3f

View File

@ -32,7 +32,7 @@ export default class StreamItem extends Component {
'data-end': item.end 'data-end': item.end
}; };
if (!gap) { if (!gap) {
attributes['data-time'] = item.post.time(); attributes['data-time'] = item.post.time().toISOString();
attributes['data-number'] = item.post.number(); attributes['data-number'] = item.post.number();
} else { } else {
attributes['config'] = (element) => { attributes['config'] = (element) => {