mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
simplify timestamp failure logic
This commit is contained in:
@ -231,7 +231,6 @@ def process(proc_data):
|
||||
entry['updated_epoch_utc'] = None
|
||||
|
||||
timestamps = jc.utils.parse_datetime_to_timestamp(entry['updated'])
|
||||
if timestamps:
|
||||
if timestamps['timestamp_naive']:
|
||||
entry['updated_epoch'] = timestamps['timestamp_naive']
|
||||
if timestamps['timestamp_utc']:
|
||||
|
Reference in New Issue
Block a user