1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

simplify return value for parse_datetime_to_timestamp()

This commit is contained in:
Kelly Brazil
2021-03-29 10:23:52 -07:00
parent ea71a42bbd
commit 398bbac48c

View File

@ -203,4 +203,4 @@ def parse_datetime_to_timestamp(data):
timestamp_obj['timestamp_naive'] = timestamp_naive
timestamp_obj['timestamp_utc'] = timestamp_utc
return timestamp_obj if timestamp_obj else None
return timestamp_obj