Fixed displayed time in GitHub feed

This commit is contained in:
ポール ウェッブ 2018-07-30 17:17:35 -05:00
parent d283a31128
commit cc7a5092c3
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@
"sass": "^1.10.1",
"snazzy": "^7.1.1",
"standardx": "^2.1.0",
"updates": "^4.1.0"
"updates": "^4.1.2"
},
"peerDependencies": {
"request": "^2.87.0"

View file

@ -303,7 +303,7 @@ function generateGitHubFeed(displayGitHubFeed) {
displayGitHubFeed(dedent`
<h3>GitHub</h3>
<h5 class="last-updated">Last updated: ${new Date().format("YYYY-MM-DD at H:mm:ss A").toLowerCase().replace(/-/g, "&middot;")}</h5>
<h5 class="last-updated">Last updated: ${new Date().format("YYYY-MM-DD").toLowerCase().replace(/-/g, "&middot;")} at ${new Date().add(-4, "hours").format("UTC:H:mm:ss A")} EST</h5>
${renderedEvents.join("")}
`);