|
|
@@ -87,7 +87,7 @@ def parse_time(toparse): |
|
|
|
try: |
|
|
|
return unix_to_timestamp(datetime_tz.datetime_tz. |
|
|
|
smartparse(toparse).totimestamp()) |
|
|
|
except (ValueError, OverflowError): |
|
|
|
except (ValueError, OverflowError, TypeError): |
|
|
|
pass |
|
|
|
|
|
|
|
# If it's parseable as a float, treat it as a Unix or NILM |
|
|
|