Date of Birth is getting reduced by 1 day after form submission.
akhilesh-sharma168 opened this issue · comments
Hi ,
In recent finding , I observed that while submitting the form having datetime component for date of birth the date submitted to the server got reduced by 1 . Why this unusual behaviour ,can someone look into the issue and suggest workaround or a fix.
Form IO version we are using is
"angular-formio": "^2.0.0-rc.3",
Thanks,
Hi Team ,
Can you look into the issue .
This needs to be fixed.
This is probably a "timezone" issue where it is getting converted to UTC time which is 1 day before. This is fixed in the latest renderer @ https://github.com/formio/formio.js, so I don't believe this would be back-ported to this library since this is now considered legacy.