replace imports of fromisoformat

This commit is contained in:
Sean Breckenridge 2021-04-06 01:38:17 -07:00
parent 8a8bec332e
commit 9ab2a18412
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ from datetime import datetime, date, time, timezone
from functools import lru_cache
from typing import Sequence, Tuple, Union, cast
from ..core.common import fromisoformat
from ..core.compat import fromisoformat
from my.config import location as user_config

View file

@ -6,7 +6,7 @@ from datetime import datetime
from typing import NamedTuple, Dict, Optional, Iterable
from .core import get_files
from .core.common import fromisoformat
from .core.compat import fromisoformat
from my.config import taplog as user_config

View file

@ -140,7 +140,7 @@ def localize(dt: datetime) -> tzdatetime:
from ...core import stat, Stats
def stats() -> Stats:
from ...core.common import fromisoformat
from ...core.compat import fromisoformat
# TODO not sure what would be a good stat() for this module...
# might be nice to print some actual timezones?
# there aren't really any great iterables to expose