title: How to change date format in pydantic
body: <p>How to change date format in pydantic for validation and serialization?
  For validation I am using <code>@validator</code>. Is there an solution for both cases?</p>