Fixed displayed time in GitHub feed
This commit is contained in:
parent
d283a31128
commit
cc7a5092c3
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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, "·")}</h5>
|
<h5 class="last-updated">Last updated: ${new Date().format("YYYY-MM-DD").toLowerCase().replace(/-/g, "·")} at ${new Date().add(-4, "hours").format("UTC:H:mm:ss A")} EST</h5>
|
||||||
|
|
||||||
${renderedEvents.join("")}
|
${renderedEvents.join("")}
|
||||||
`);
|
`);
|
||||||
|
|
Loading…
Reference in a new issue