You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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:
Should be equal to
datetime.datetime(2025, 1, 10, 5, 0, 0)
The text was updated successfully, but these errors were encountered: