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:
@ -203,4 +203,4 @@ def parse_datetime_to_timestamp(data):
|
|||||||
timestamp_obj['timestamp_naive'] = timestamp_naive
|
timestamp_obj['timestamp_naive'] = timestamp_naive
|
||||||
timestamp_obj['timestamp_utc'] = timestamp_utc
|
timestamp_obj['timestamp_utc'] = timestamp_utc
|
||||||
|
|
||||||
return timestamp_obj if timestamp_obj else None
|
return timestamp_obj
|
||||||
|
Reference in New Issue
Block a user