Open
Description
If we know the timezone that some string that we are converting is represented with - pass this optional attr in_tz
.
Then the function should respect that when parsing the str
Make very good tests to this.
Example:
result = validate_datetime_from_something("2025-01-10T12:00:00"), in_tz="America/Los_Angeles")
Should be equal to datetime.datetime(2025, 1, 10, 5, 0, 0)