fix stupid AI bullshit fuckery
This commit is contained in:
parent
a0c450384d
commit
964ba05724
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
import { PostReaction } from '../posts/posts.ts'
|
import { PostReaction } from '../posts/posts.ts'
|
||||||
import { Temporal } from '@js-temporal/polyfill'
|
|
||||||
|
|
||||||
interface PostTimelineProps {
|
interface PostTimelineProps {
|
||||||
reactions: PostReaction[]
|
reactions: PostReaction[]
|
||||||
|
@ -11,7 +10,7 @@ export function PostTimeline({ reactions }: PostTimelineProps) {
|
||||||
{reactions.map((reaction) => (
|
{reactions.map((reaction) => (
|
||||||
<div className={`flex flex-col`}>
|
<div className={`flex flex-col`}>
|
||||||
<div className={`text-gray-400 text-xs -mb-1`}>
|
<div className={`text-gray-400 text-xs -mb-1`}>
|
||||||
{Temporal.Now.instant().toLocaleString('en-AU', {
|
{reaction.reactedOn.toLocaleString('en-AU', {
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
month: 'numeric',
|
month: 'numeric',
|
||||||
day: 'numeric',
|
day: 'numeric',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue