Heyas
Have a production site running on Win2008 R2, IIS, SQL2012 and Laravel 5.0
Far from my ideal but forced to go where the databases are.
I updated dev to 5.1 and tried pushing that onto production today.
I'm getting the error
ErrorException in Carbon.php line 414:
The format separator does not match
The format separator does not match
The format separator does not match
Some googling points me to trying to modify the getDateFormat() method within SqlServerGrammar.php inside the vendor directory to either
- return 'Y-m-d H:i:s+' or
- return 'Y-m-d H:i:s.u'
which seems to get me going again, but then as soon as I try to save()
SQLSTATE[22007]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Conversion failed when converting date and/or time from character string.
and the sql error would be because of
[updated_at] = 2015-07-20 08:48:31+ where [id] = 5486
and that is about as far as I have managed to get to