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