mirror of
https://github.com/langgenius/dify.git
synced 2026-02-25 20:26:31 +08:00
5 lines
121 B
Python
5 lines
121 B
Python
from datetime import datetime, timezone
|
|
|
|
def naive_utc_now():
|
|
return datetime.now(timezone.utc).replace(tzinfo=None)
|