Change from datetime.now() to datetime.now(timezone.utc)

Description

datetime.now() this function returns the current local date and time. Instead of datetime.utcnow(). utcnow() returns the current UTC date and time, with tzinfo None. Therefore, we generally need to replace all datetime.now() with datetime.now(timezone.utc). Since datetime.utcnow() will soon be deprecated

Done

Assignee

sergej.dumler@nethinks.com

Reporter

sergej.dumler@nethinks.com

Labels

Story Points

1