fix utc datetime generator
m(
This commit is contained in:
parent
fe5db535a9
commit
5514a8d1e1
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ def validate(o):
|
||||||
|
|
||||||
|
|
||||||
def utcnow():
|
def utcnow():
|
||||||
return datetime.now().replace(tzinfo=timezone.utc)
|
return datetime.utcnow().replace(tzinfo=timezone.utc)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue