MM-9612 Better handled out of order posts causing duplicate date headers (#1468)
This commit is contained in:
parent
8981693474
commit
6cbc71b718
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ export function makePreparePostIdsForPostList() {
|
|||
const postDate = new Date(post.create_at);
|
||||
|
||||
if (!lastDate || lastDate.toDateString() !== postDate.toDateString()) {
|
||||
out.push(DATE_LINE + postDate.toDateString());
|
||||
out.push(DATE_LINE + postDate.toString());
|
||||
|
||||
lastDate = postDate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue