1
0
mirror of https://github.com/flarum/core.git synced 2025-04-30 04:27:57 +02:00

Fix comment for the time gap feature in PostStream ()

The time interval for the time gap feature is 4 days and not 4 hours.
This commit is contained in:
Matteo Contrini 2020-09-24 06:08:12 +02:00 committed by GitHub
parent fd0f0cdf8b
commit b00ca4ef29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@ export default class PostStream extends Component {
attrs['data-id'] = post.id();
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
// the posts.
const dt = time - lastTime;