core: remove vendorized py37 isoformat code
This commit is contained in:
parent
03dd1271f4
commit
7493770d4d
8 changed files with 7 additions and 146 deletions
|
@ -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!
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue