mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
fix: use consistent format for changelog dates (#7028)
This commit is contained in:
parent
a8fdc9666a
commit
700ec77b64
1 changed files with 1 additions and 6 deletions
|
|
@ -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 || '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue