last day
This commit is contained in:
@@ -331,10 +331,9 @@ async function submitSteps() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Validate date is not after October 31, 2025
|
// Validate date is not after October 31, 2025
|
||||||
const contestEndDate = new Date('2025-10-31');
|
const contestEndDate = '2025-10-31';
|
||||||
const selectedDate = new Date(date + 'T00:00:00');
|
|
||||||
|
|
||||||
if (selectedDate > contestEndDate) {
|
if (date > contestEndDate) {
|
||||||
showMessage(messageDiv, 'Contest ended on October 31, 2025. Cannot enter steps after this date.', 'error');
|
showMessage(messageDiv, 'Contest ended on October 31, 2025. Cannot enter steps after this date.', 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user