mirror of
https://github.com/flarum/core.git
synced 2025-07-12 04:16:24 +02:00
Fix comment for the time gap feature in PostStream (#2294)
The time interval for the time gap feature is 4 days and not 4 hours.
This commit is contained in:
@ -47,7 +47,7 @@ export default class PostStream extends Component {
|
|||||||
attrs['data-id'] = post.id();
|
attrs['data-id'] = post.id();
|
||||||
attrs['data-type'] = post.contentType();
|
attrs['data-type'] = post.contentType();
|
||||||
|
|
||||||
// If the post before this one was more than 4 hours ago, we will
|
// If the post before this one was more than 4 days ago, we will
|
||||||
// display a 'time gap' indicating how long it has been in between
|
// display a 'time gap' indicating how long it has been in between
|
||||||
// the posts.
|
// the posts.
|
||||||
const dt = time - lastTime;
|
const dt = time - lastTime;
|
||||||
|
Reference in New Issue
Block a user