Fix date display by backing timezone off by another hour.

This isn't entirely accurate but it works well enough.
This commit is contained in:
Benjamin A. Shelton 2026-06-29 22:21:13 -06:00
commit 7f3b921c5c
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -7,7 +7,7 @@ const notes = defineCollection({
schema: z.object({
title: z.string(),
date: z.string().transform((s) => {
return new Date(`${s}T00:00:00-0600`);
return new Date(`${s}T00:00:00-0700`);
}),
meta_description: z.string().optional(),
sub_heading: z.string().optional(),