preheat_open.api.api_string_to_datetime

preheat_open.api.api_string_to_datetime(t)

Converts a datetime string from the API to a python datetime

Parameters:

t (str) – datetime in string format

Return type:

datetime

Returns:

datetime corresponding to the input