diff --git a/scripts/generate-changelog.js b/scripts/generate-changelog.js index 05e98d997..762a7392f 100644 --- a/scripts/generate-changelog.js +++ b/scripts/generate-changelog.js @@ -30,12 +30,7 @@ for (const file of files) { .replace(/\/page$/, ''); changelogRecords.push({ - date: new Date(data.date).toLocaleDateString(undefined, { - day: 'numeric', - month: 'long', - year: 'numeric', - calendar: 'gregory', - }), + date: new Date(data.date).toISOString().split('T')[0], href: `https://the-guild.dev/graphql/hive/product-updates/${pathname}`, title: data.title, description: data.description || '',