Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/src/lib/rss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function createFeed(): Promise<Feed> {
const url = `${baseUrl}/blog/${page.data.slug}`;

// Parse date from the path (format: YYYY-MM-DD-title)
const pathMatch = page.path.match(/\/(\d{4}-\d{2}-\d{2})/);
const pathMatch = page.path.match(/^(\d{4}-\d{2}-\d{2})/);
const dateStr = pathMatch?.[1];
const date = dateStr ? new Date(dateStr) : new Date();

Expand Down
Loading