Skip to content

Commit e1c58a2

Browse files
committed
Small nits
1 parent b38dd13 commit e1c58a2

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/components/FormattedDate.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { date } = Astro.props;
88

99
<time datetime={date.toISOString()}>
1010
{
11-
date.toLocaleDateString("en-us", {
11+
date.toLocaleDateString("en-US", {
1212
year: "numeric",
1313
month: "short",
1414
day: "numeric",

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const pagePath = (collection: string, slug: string): string => {
1717
};
1818

1919
export const formatDate = (date: Date): string => {
20-
return date.toLocaleDateString("en-us", {
20+
return date.toLocaleDateString("en-USs", {
2121
year: "numeric",
2222
month: "long",
2323
day: "numeric",

src/pages/llms-small.txt.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//import { conceptPagePath, startPagePath } from "../lib/utils";
21
import { site } from "../site";
32
import type { APIRoute } from "astro";
43
import { getCollection } from "astro:content";

0 commit comments

Comments
 (0)