Closed lordk911 closed 1 week ago
I deploy dify use k8s helm : https://github.com/douban/charts/tree/master/charts/dify
I've set the sandbox container env:
- name: TZ
value: "Asia/Shanghai"
and go into the container:
But why In dify when exec code in python it still use UTC timezone
1、go into the containser anf exec : ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
, can work it out
Thanks so much for reporting this, I have fixed it.
when :
it will use the default UTC timezone
when :
will got error:
operation not permitted