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", "sass": "^1.10.1",
"snazzy": "^7.1.1", "snazzy": "^7.1.1",
"standardx": "^2.1.0", "standardx": "^2.1.0",
"updates": "^4.1.0" "updates": "^4.1.2"
}, },
"peerDependencies": { "peerDependencies": {
"request": "^2.87.0" "request": "^2.87.0"

View file

@ -303,7 +303,7 @@ function generateGitHubFeed(displayGitHubFeed) {
displayGitHubFeed(dedent` displayGitHubFeed(dedent`
<h3>GitHub</h3> <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("")} ${renderedEvents.join("")}
`); `);