Reputation: 51
I'm having problems with time values in watson conversation. In the "try now" panel the current time is right (taken with the now() function), but when i use the conversation deployed on bluemix or facebook messenger the time is two hours before. Example:
in "try now" panel -> 13:30
in bluemix chat -> 11:30
in facebook messenger -> 11:30
Seems like bluemix automatically sets utc +00. How can i fix this issue?
Thanks in advance!
Upvotes: 0
Views: 833
Reputation: 51
Solved. In the "try now" panel the timezone is automatically recognized. The only way to let your app know which is your timezone is to create a variable "timezone":"Europe/Rome" in the context field.
Upvotes: 5