Skip to content

Commit

Permalink
Test print date
Browse files Browse the repository at this point in the history
  • Loading branch information
khkim6040 committed Aug 8, 2024
1 parent e843a3c commit 872f8ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const HomePage: React.FunctionComponent<{
nextEvent: ICalendar;
}> = ({ noticeList, nextEvent }) => {
const isDayTime = 9 <= new Date().getHours() && new Date().getHours() <= 18;
console.log(new Date().getHours());

return (
<Layout>
Expand Down

0 comments on commit 872f8ca

Please sign in to comment.