This PR adds a dependency python-dateparse to use for parsing datetime strings.
This allows users to provide more flexible datetime strings, for example to resolve #98 if the user does not want to provide microseconds. Additionally, datetime strings will now accept time zones and be automatically converted to UTC. A time zone can be provided as follows: 2023-12-27T5:00:00-07:00
Tests were added to test datetime strings with and without microseconds as well as ensure correct time zone conversion.
This PR adds a dependency python-dateparse to use for parsing datetime strings.
This allows users to provide more flexible datetime strings, for example to resolve #98 if the user does not want to provide microseconds. Additionally, datetime strings will now accept time zones and be automatically converted to UTC. A time zone can be provided as follows:
2023-12-27T5:00:00-07:00
Tests were added to test datetime strings with and without microseconds as well as ensure correct time zone conversion.