1
0
mirror of https://github.com/flarum/core.git synced 2025-07-11 11:56:23 +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:
Matteo Contrini
2020-09-24 06:08:12 +02:00
committed by GitHub
parent fd0f0cdf8b
commit b00ca4ef29

View File

@ -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;