Bauke/tildes-issue-log
Bauke
/
tildes-issue-log
Archived
1
Fork 0

Change the published date to be noon on the last day of the month.

This commit is contained in:
Bauke 2020-03-01 00:59:19 +01:00
parent ec1167155d
commit 0b5bee91bc
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export async function generateFeeds(allPosts: PostList[]): Promise<void> {
months[post.month]
}.html`;
const date = new Date(year.year, post.month, 0, 23, 59, 59);
const date = new Date(year.year, post.month, 0, 12, 0, 0);
const html: string = await fsp.readFile(
join(__dirname, `../../public/${year.year}/${months[post.month]}.html`),