File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ const blogCollection = defineCollection({
1212 // I am truly lost on how TZ works in Javascript Dates.
1313 // I believe somehow the solution would lie here in making sure that the date offset is parsed and transmitted properly,
1414 // but there is no insight in how this works so far. I'm lost as fuck.
15- const timezone = Intl . DateTimeFormat ( ) . resolvedOptions ( ) . timeZone ;
15+
16+ // const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
1617 const parsed = parse ( date , "yyyy-MM-dd HH:mm:ss XX" , new Date ( ) ) ;
1718 // const utc = zonedTimeToUtc(parsed, timezone);
1819 return z . date ( ) . parse ( parsed ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import General from "@layouts/General.astro";
33import Time from " @components/Time.tsx" ;
44import { type CollectionEntry } from " astro:content" ;
55import type { Props as SEOProps } from " astro-seo" ;
6- import Balancer from " react-wrap-balancer" ;
6+ import { Balancer } from " react-wrap-balancer" ;
77
88interface Props {
99 post: CollectionEntry <" blog" >;
@@ -83,8 +83,7 @@ const ogp: SEOProps = {
8383 <div >
8484 <h1 class =" max-md:text-lg max-sm:text-center max-sm:border-b border-zinc-700" >
8585 <a href ={ post .slug } >
86- { title }
87- <!-- <Balancer>{title}</Balancer> -->
86+ <Balancer >{ title } </Balancer >
8887 </a >
8988 </h1 >
9089 <p class =" mt-0 text-sm ml-5" >
You can’t perform that action at this time.
0 commit comments