You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently running into issues when using MSSQL field type "date" (values in DB like "1990-03-01"). Symfony error is:
app.CRITICAL: PHP Exception Doctrine\DBAL\Types\ConversionException: "Could not convert database value "2000-07-01" to Doctrine Type date. Expected format: Y-m-d H:i:s.000" at /[...]/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php line 60 [] []
DateTime works nice and without problems. I noticed the MssqlBundle\Types\DateTimeType.php and MssqlBundle\Types\DateType.php files look different. Is the DateType supposed to work? Any idea why it does not in my setup?
Thanks in advance for any hint and help!
Yours
Felix
The text was updated successfully, but these errors were encountered:
Hey,
thanks for providing this DB driver for MSSQL.
I'm currently running into issues when using MSSQL field type "date" (values in DB like "1990-03-01"). Symfony error is:
DateTime works nice and without problems. I noticed the MssqlBundle\Types\DateTimeType.php and MssqlBundle\Types\DateType.php files look different. Is the DateType supposed to work? Any idea why it does not in my setup?
Thanks in advance for any hint and help!
Yours
Felix
The text was updated successfully, but these errors were encountered: