简体   繁体   中英

Timezone in Watson Dialog for Android

My Watson Dialog is configured so that for a certain intent it answers me with something depending on whether it's Sunday. When I try it with the "try it" panel it gives me the correct answer at all times.

However, when I try it with the Android SDK at saturday night in my timezone (Americas/Bogota), it answers me like if it was Sunday.

How can I set the timezone in Android so that it knows that is still saturday?

The try out panel grabs your browser locale and uses that. By default, the system will use UCT I believe unless you set the time zone in context: https://console.bluemix.net/docs/services/conversation/supported-timezones.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM