Merge pull request #40 from Pauan/patch-1

Fixing Time Now (UTC) to work with older versions of Python
This commit is contained in:
StableLlama
2026-01-16 12:44:22 +01:00
committed by GitHub
+1 -1
View File
@@ -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):