Replies: 1 comment
-
I found 1 discussion that might be helpful:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
Content
After implementing the time tool, we discovered it returns UTC time (8 hours behind) when users request current time through the agent. This occurs despite:
Server timezone being properly set to Asia/Shanghai
Timezone settings configured in Dify
System time displaying correctly in other components
Expected behavior: The tool should return Asia/Shanghai local time when users ask "what time is it?"
Technical observations:
The 8-hour difference suggests UTC time conversion is missing
Timezone settings may not be propagating to the tool's backend
Potential use of datetime.utcnow() instead of timezone-aware datetime
Requesting investigation into:
Time calculation method in the tool
Timezone handling implementation
Configuration parameter passing mechanism
Beta Was this translation helpful? Give feedback.
All reactions