fix: timestamp

This commit is contained in:
Cory Dransfeldt 2024-04-09 06:32:11 -07:00
parent f675436013
commit 56c9f498ba
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "9.9.2", "version": "9.9.3",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -17,7 +17,7 @@ export default async function () {
return [{ return [{
title: content, title: content,
url: `https://coryd.dev/now?ts=${currentDate.toMillis()}#artists`, url: `https://coryd.dev/now?ts=${parseInt(chartData['timestamp'])}#artists`,
date: DateTime.fromMillis(parseInt(chartData['timestamp'])).toISO(), date: DateTime.fromMillis(parseInt(chartData['timestamp'])).toISO(),
description: `My top artists for the last week ending ${currentDate.minus({ days: 1 }).toLocaleString(DateTime.DATE_FULL)}.<br/><br/>` description: `My top artists for the last week ending ${currentDate.minus({ days: 1 }).toLocaleString(DateTime.DATE_FULL)}.<br/><br/>`
}] }]