We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
MySQL table has:
`done_at` datetime NOT NULL
AFAIK in Propel Datetime maps to timestamp. So schema.yml has:
done_at: { type: timestamp }
Result is:
DateTime::__construct(): Failed to parse time string (0) at position 0 (0): Unexpected character
when I try to setDoneAt() on model with empty ('0000-00-00 00:00:00') property. Error seems to be in setDoneAt() in line:
$currentDateAsString = ($this->checked_at !== null && $tmpDt = new DateTime($this->checked_at)) ? $tmpDt->format('Y-m-d H:i:s') : null;
Cheers
The text was updated successfully, but these errors were encountered:
Seems close to Propel. You should open this issue in the Propel repository itself.
Sorry, something went wrong.
Merge pull request propelorm#103 from willdurand/setter-collections
70c0b99
Added setter for collections (N-N relations)
Added missing declared class. Refs propelorm#103.
77a166c
No branches or pull requests
Hi,
MySQL table has:
AFAIK in Propel Datetime maps to timestamp.
So schema.yml has:
Result is:
when I try to setDoneAt() on model with empty ('0000-00-00 00:00:00') property.
Error seems to be in setDoneAt() in line:
Cheers
The text was updated successfully, but these errors were encountered: