Skip to content

Commit 1df87ad

Browse files
qPaleeCopilot
andauthored
Update _includes/countdown.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: 6C6565 <99056415+qPalee@users.noreply.github.com>
1 parent db75b3a commit 1df87ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/countdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const startDate = new Date("{{ include.date }}").getTime();
2-
const endDate = new Date(startDate + 60 * 60 * 24 * 1000);
2+
const endDate = startDate + 60 * 60 * 24 * 1000;
33
const edition = "{{ include.edition }}";
44

55
document.addEventListener("DOMContentLoaded", () => {

0 commit comments

Comments
 (0)