Annotate common.util.time.now
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lukáš Kucharczyk 2023-01-05 11:24:31 +01:00
parent 32f10e183e
commit fd7fc7c710
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg

View File

@ -4,7 +4,7 @@ from zoneinfo import ZoneInfo
import re
def now():
def now() -> datetime:
return datetime.now(ZoneInfo(settings.TIME_ZONE))