Annotate common.util.time.now
continuous-integration/drone/push Build is passing Details

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
1 changed files with 1 additions and 1 deletions

View File

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