mirror of
https://github.com/flarum/framework.git
synced 2025-05-21 22:36:01 +08:00
Prevent moment deprecation warning
This commit is contained in:
@ -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) => {
|
||||
|
Reference in New Issue
Block a user