Skip to content

Commit

Permalink
fix: livepage countdown timer time
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiAlan committed Jun 23, 2024
1 parent 5b27efb commit f6bafce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/live/Live.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import "./Live.scss";
import EventSection from "./EventSection";

const Live = () => {
const LiveDate = new Date("2024-06-22T18:00:00");
// const LiveDate = new Date("2024-06-28T18:00:00");
// const LiveDate = new Date("2024-06-22T18:00:00");
const LiveDate = new Date("2024-06-28T18:00:00");

const calculateTimeLeft = () => {
const targetDate = new Date("2024-06-25T06:00:00");
// const targetDate = new Date("2024-06-30T06:00:00");
// const targetDate = new Date("2024-06-25T06:00:00");
const targetDate = new Date("2024-06-30T06:00:00");
const now = new Date();
const difference = targetDate - now;

Expand Down

0 comments on commit f6bafce

Please sign in to comment.