Skip to content

Commit

Permalink
fix: dates showing incorrect date (fixes #107)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzDerock committed Jan 25, 2023
1 parent dbd29b7 commit b230855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/renderers/message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default async function renderMessage(message: Message, context: RenderMes
return (
<DiscordMessage
id={`m-${message.id}`}
timestamp={message.createdAt}
timestamp={message.createdAt.toISOString()}
key={message.id}
edited={message.editedAt !== null}
server={isCrosspost ?? undefined}
Expand Down

0 comments on commit b230855

Please sign in to comment.