aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/pages/about.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-19 04:32:36 +0900
committernsfisis <nsfisis@gmail.com>2023-03-19 04:37:08 +0900
commitf2424f306be40e27c76def020ecb2ce1ec2aad4e (patch)
tree4ab51d9d20707dac51a4a2be60bc476bbac9bdbd /nuldoc-src/pages/about.ts
parentca7a609fef1167374f7c36ae87be154b0142dd47 (diff)
downloadblog.nsfisis.dev-f2424f306be40e27c76def020ecb2ce1ec2aad4e.tar.gz
blog.nsfisis.dev-f2424f306be40e27c76def020ecb2ce1ec2aad4e.tar.zst
blog.nsfisis.dev-f2424f306be40e27c76def020ecb2ce1ec2aad4e.zip
refactor: change type of Revision.date
Diffstat (limited to 'nuldoc-src/pages/about.ts')
-rw-r--r--nuldoc-src/pages/about.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuldoc-src/pages/about.ts b/nuldoc-src/pages/about.ts
index adf4d73..459b88c 100644
--- a/nuldoc-src/pages/about.ts
+++ b/nuldoc-src/pages/about.ts
@@ -4,6 +4,7 @@ import { pageLayout } from "../components/page_layout.ts";
import { Config } from "../config.ts";
import { el, text } from "../dom.ts";
import { Page } from "../page.ts";
+import { dateToString } from "../revision.ts";
import { getPostCreatedDate } from "./post.ts";
import { SlidePage } from "./slide.ts";
@@ -125,7 +126,7 @@ export async function generateAboutPage(
[["href", slide.href]],
text(
`${
- getPostCreatedDate(slide)
+ dateToString(getPostCreatedDate(slide))
}: ${slide.event} (${slide.talkType})`,
),
),