This repository was archived by the owner on May 15, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
apps/web-roo-code/src/lib/blog Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import matter from "gray-matter"
44import { ZodError } from "zod"
55import type { BlogPost } from "./types"
66import { blogFrontmatterSchema } from "./types"
7- import { getNowPt } from "./pt-time"
7+ import { getNowPt , parsePublishTimePt } from "./pt-time"
88import { isPublished } from "./publishing"
99
1010/**
@@ -158,7 +158,7 @@ export function getAllBlogPosts(options: GetAllBlogPostsOptions = {}): BlogPost[
158158 return dateCompare
159159 }
160160 // Same date - compare times (descending)
161- import { getNowPt , parsePublishTimePt } from "./pt-time"
161+ return parsePublishTimePt ( b . publish_time_pt ) - parsePublishTimePt ( a . publish_time_pt )
162162 } )
163163}
164164
You can’t perform that action at this time.
0 commit comments