core: remove vendorized py37 isoformat code

This commit is contained in:
Sean Breckenridge 2022-01-27 09:54:59 -08:00 committed by karlicoss
parent 03dd1271f4
commit 7493770d4d
8 changed files with 7 additions and 146 deletions

View file

@ -6,7 +6,6 @@ from datetime import datetime
from typing import NamedTuple, Dict, Optional, Iterable
from .core import get_files
from .core.compat import fromisoformat
from my.config import taplog as user_config
@ -41,7 +40,7 @@ class Entry(NamedTuple):
ts = self.row['timestamp']
# already with timezone apparently
# TODO not sure if should stil localize though? it only kept tz offset, not real tz
return fromisoformat(ts)
return datetime.fromisoformat(ts)
# TODO also has gps info!