mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
simplify None data scenario
This commit is contained in:
@ -109,6 +109,7 @@ def parse_datetime_to_timestamp(data):
|
||||
|
||||
If the conversion completely fails, all fields will be None.
|
||||
"""
|
||||
data = data or ''
|
||||
normalized_datetime = ''
|
||||
utc_tz = False
|
||||
dt = None
|
||||
|
Reference in New Issue
Block a user