Merge pull request #40 from Pauan/patch-1
Fixing Time Now (UTC) to work with older versions of Python
This commit is contained in:
@@ -81,7 +81,7 @@ class TimeNowUTC(ComfyNodeABC):
|
||||
Retrieves the current system time in the UTC timezone.
|
||||
The optional trigger input can be used to trigger execution.
|
||||
"""
|
||||
return (datetime.datetime.now(datetime.UTC),)
|
||||
return (datetime.datetime.now(datetime.timezone.utc),)
|
||||
|
||||
|
||||
class TimeToUnix(ComfyNodeABC):
|
||||
|
||||
Reference in New Issue
Block a user