diff --git a/docs/index.html b/docs/index.html
index 9bb6276a..a671f85e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -31,7 +31,7 @@
-
+
diff --git a/docs/ja-JP/index.html b/docs/ja-JP/index.html
index 7b7dc2fd..546f686b 100644
--- a/docs/ja-JP/index.html
+++ b/docs/ja-JP/index.html
@@ -33,7 +33,7 @@
-
+
diff --git a/docs/news/2020-09-18.html b/docs/news/2020-09-18.html
index 23245c2b..44ebccdb 100644
--- a/docs/news/2020-09-18.html
+++ b/docs/news/2020-09-18.html
@@ -27,7 +27,7 @@
-
+
diff --git a/docs/news/index.html b/docs/news/index.html
index 9d91a720..3852e14c 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -26,7 +26,7 @@
-
+
diff --git a/docs/news/rss.xml b/docs/news/rss.xml
index 42e96173..1dd93a6a 100644
--- a/docs/news/rss.xml
+++ b/docs/news/rss.xml
@@ -6,7 +6,7 @@
News updates for the primer on Bézier Curves by Pomax
en-GB
- undefinedT12:00:00+00:00
+ Tue Sep 22 2020 20:51:04 GMT-0700 (Pacific Daylight Time)
https://pomax.github.io/bezierinfo/images/og-image.png
A Primer on Bézier Curves
diff --git a/docs/zh-CN/index.html b/docs/zh-CN/index.html
index 52fcba68..2bd78cde 100644
--- a/docs/zh-CN/index.html
+++ b/docs/zh-CN/index.html
@@ -33,7 +33,7 @@
-
+
diff --git a/src/build/create-news-pages.js b/src/build/create-news-pages.js
index bd0fcbd0..e34155f5 100644
--- a/src/build/create-news-pages.js
+++ b/src/build/create-news-pages.js
@@ -86,7 +86,7 @@ function generateNewsIndex(details) {
base,
details,
locale,
- publishTime: `${details.postDate}T12:00:00+00:00`,
+ publishTime: new Date(),
};
const index = nunjucks.render(`news.template.html`, renderContext);
fs.writeFileSync(path.join(paths.news, `index.html`), index, `utf8`);
@@ -98,7 +98,7 @@ function generateNewsIndex(details) {
function generateRSSFeed(details) {
const renderContext = {
items: details,
- buildDate: `${details.postDate}T12:00:00+00:00`,
+ buildDate: new Date(),
};
const index = nunjucks.render(`rss.template.xml`, renderContext);
fs.writeFileSync(path.join(paths.news, `rss.xml`), index, `utf8`);