-
Notifications
You must be signed in to change notification settings - Fork 5
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
habilitar registro para voluntaries #99
Conversation
src/pages/registro.tsx
Outdated
const volunteerClosingTime = ofmi?.registrationCloseTime | ||
? new Date(ofmi?.registrationCloseTime.getFullYear(), 11, 31).getTime() | ||
: null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Validamos también el closing time.
Te falta agregar esto en src/lib/validators/ofmi.ts validateOFMIOpenAndCloseTime
Sino, les va a arrojar error cuando lo envíen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Porque el mess 11 y no el 12? Deberia ser hasta el ultimo segundo del ultimo dia
Co-authored-by: Juan Carlos Sigler Priego <[email protected]>
No description provided.