From 1d221bf7e6128d57bd769c0fe8f37f7a94da8cd2 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 1 Apr 2021 11:19:49 -0700 Subject: [PATCH] use new timestamp class --- jc/parsers/who.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jc/parsers/who.py b/jc/parsers/who.py index 9d65dc98..a27d9ef7 100644 --- a/jc/parsers/who.py +++ b/jc/parsers/who.py @@ -171,7 +171,8 @@ def process(proc_data): entry[key] = None if 'time' in entry: - entry['epoch'] = jc.utils.parse_datetime_to_timestamp(entry['time'])['timestamp_naive'] + ts = jc.utils.timestamp(entry['time']) + entry['epoch'] = ts.naive return proc_data