Skip to content

Commit

Permalink
Fix the final round dates
Browse files Browse the repository at this point in the history
  • Loading branch information
stargazer39 committed Sep 22, 2023
1 parent 54191b7 commit 583fc82
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/data/Timeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{
"id": 6,
"title": "Final Round",
"dateTime": "30th Of August - 10.00 am",
"dateTime": "25th Of September - 9.00 am",
"description": "All teams advancing to round 3 are invited to the physical event at the Sri Lanka Institute of Information Technology Campus, Malabe, to present the project in front of an expert panel. Winners will be selected accordingly."
}
]
Expand Down
12 changes: 6 additions & 6 deletions src/views/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import Logo from "../../assets/logo/mini_hackathon_logo_2023.png";

const Countdown = () => {
const isAwarenessSession = false;
let myDate = "30-08-2023";
myDate = myDate.split("-");
let newDate = new Date(myDate[2], myDate[1] - 1, myDate[0]);
let currDate = "25-09-2023";
currDate = currDate.split("-");
let newDate = new Date(currDate[2], currDate[1] - 1, currDate[0]);
let month = newDate.toLocaleString("en-us", { month: "long" });
// let date = newDate.getDate();
let date = newDate.getDate();

return (
<div className="flex justify-center flex-col md:flex-row px-3.5 mt-10 ">
Expand All @@ -23,9 +23,9 @@ const Countdown = () => {
<div className="justify-center items-center mt-0 md:mt-0 md:p-10 ml-20">
<div>
<CountdownTimer
countdownTimestampMs={1693333800000}
countdownTimestampMs={1695612600000}
month={month}
date={30}
date={date}
/>
</div>

Expand Down

0 comments on commit 583fc82

Please sign in to comment.