misc: replace uses of pytz.utc with timezone.utc where it makes sense
This commit is contained in:
parent
c91534b966
commit
c12224af74
9 changed files with 24 additions and 42 deletions
|
@ -5,8 +5,7 @@ Just a demo module for testing and documentation purposes
|
|||
from .core import Paths, PathIsh
|
||||
|
||||
from typing import Optional
|
||||
from datetime import tzinfo
|
||||
import pytz
|
||||
from datetime import tzinfo, timezone
|
||||
|
||||
from my.config import demo as user_config
|
||||
from dataclasses import dataclass
|
||||
|
@ -16,7 +15,7 @@ from dataclasses import dataclass
|
|||
class demo(user_config):
|
||||
data_path: Paths
|
||||
username: str
|
||||
timezone: tzinfo = pytz.utc
|
||||
timezone: tzinfo = timezone.utc
|
||||
|
||||
external: Optional[PathIsh] = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue