mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
Update apps/web-roo-code/src/lib/blog/content.ts
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
This commit is contained in:
parent
aa4c2d921f
commit
363a46dd2e
1 changed files with 1 additions and 2 deletions
|
|
@ -157,8 +157,7 @@ export function getAllBlogPosts(options: GetAllBlogPostsOptions = {}): BlogPost[
|
|||
if (dateCompare !== 0) {
|
||||
return dateCompare
|
||||
}
|
||||
// Same date - compare times (descending)
|
||||
return b.publish_time_pt.localeCompare(a.publish_time_pt)
|
||||
return parsePublishTimePt(b.publish_time_pt) - parsePublishTimePt(a.publish_time_pt)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue