I made a Date/Time field an when i go to the front end i get 'Object of class DateTime could not be converted to string'
`yii\base\ErrorException: Object of class DateTime could not be converted to string in /var/www/proteus-iv/storage/runtime/compiled_templates/05/050a0b4391db935c9fd78c20446cb736e2cbdabea5fbc6f59b56bd7853b3475e.php:56
Stack trace:
Use the date filter to output DateTime objects. https://github.com/craftcms/docs/blob/v3/en/changes-in-craft-3.md#date-formatting
Can't know 100% without seeing your template code, but like @carlcs said you probably just need to |date(...) your DateTime object when outputting it.
(see the first row in the table here: https://github.com/craftcms/docs/blob/v3/en/changes-in-craft-3.md#date-formatting)
That link doesn't work now. Here's one that does: https://docs.craftcms.com/v3/changes-in-craft-3.html#template-functions
Can't know 100% without seeing your template code, but like @carlcs said you probably just need to
|date(...)your DateTime object when outputting it.
this worked for me, thank you very much