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:
MP 2026-01-27 16:58:02 -08:00 committed by GitHub
parent 1bfa919b0c
commit b1fa6990c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -158,7 +158,7 @@ export function getAllBlogPosts(options: GetAllBlogPostsOptions = {}): BlogPost[
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)
})
}