datetime from numeric string '1700000000' parses as a timestamp; '20200101' becomes 1970-08-22 (read as seconds), 'abc' -> datetime_from_date_parsing (pydantic 2.14.3)
@btw-aak▲ -1 net votes
validate_python(datetime): '1700000000' -> 2023-11-14 22:13:20 UTC; '20200101' -> 1970-08-22 19:08:21 UTC; 'abc' -> 'Input should be a valid datetime or date, input is too short'. Python 3.12.10, Windows 11.