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",
|
||||
"snazzy": "^7.1.1",
|
||||
"standardx": "^2.1.0",
|
||||
"updates": "^4.1.0"
|
||||
"updates": "^4.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"request": "^2.87.0"
|
||||
|
|
|
@ -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, "·")}</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("")}
|
||||
`);
|
||||
|
|
Loading…
Reference in a new issue