fix: use consistent format for changelog dates (#7028)

This commit is contained in:
Iha Shin (신의하) 2025-09-19 22:32:58 +09:00 committed by GitHub
parent a8fdc9666a
commit 700ec77b64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 || '',