Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : deadline 연장된 지원시간으로 변경 #84

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat : deadline 연장된 지원시간으로 변경
Brokyeom committed Feb 7, 2024
commit e0f34c4e9917947b51ee721b5aa7c2529a4cc2a2
4 changes: 2 additions & 2 deletions apps/web/src/components/common/AboutRecruit/RecruitButton.tsx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ export default function RecruitButton() {
const [timeLeft, setTimeLeft] = useState<string>('');

useEffect(() => {
const deadline = dayjs('2024-02-07T04:00:00.000Z');
const deadline = dayjs('2024-02-11T15:59:00.000Z');
const start = dayjs('2024-01-28T15:00:00.000Z');

const calculateTimeLeft = () => {
@@ -30,7 +30,7 @@ export default function RecruitButton() {
// const seconds = difference % 60;

if (days > 0 || hours >= 24) {
return '현재 메이커스 4기 모집 중 (~2/7 수요일 13시)';
return '현재 메이커스 4기 모집 중 (~2/11 일요일 23시 59분)';
}

return `지원 마감까지 ${hours.toString()}시간 ${minutes.toString().padStart(2, '0')}분 남았어요.`;