[BUGFIX] Fix fatal error for date validation in EXT:form on Windows