Cannot normalize attribute "timezone" because injected serializer is not a normalizer
<p>Can't normalize DateTime onject in php (Symfony)... Why it doesn't work? DateTime is the object, isn't it?<br>
$normalizers->normalize($patient->getDateAdded())<br>
Error:
Cannot normalize attribute "timezone" because injected serializer is not a normalizer</p>