scenario:- using Alexa Simulator- Time on PC: 2018-8-25 14:50:00 (UTC + 09:00)- using an intent with AMAZON.
DATE slot- Sample Utterances: {date}1. whether input text "today" on Alexa simulator ,request from alexa contains the below "timestamp": "2018-08-25T05:51:57Z", "locale": "en-US", or "intent": { "name": "myIntent","confirmationStatus": "NONE", "slots": { "date": { "name": "date", and "value": "2018-08-24","confirmationStatus": "NONE" } } }
we can see the "timestamp": "2018-08-25T05:51:57Z",but "today" is : "value": "2018-08-24", or whether I input text "yesterday","timestamp": "2018-08-25T06:07:20Z", "locale": "en-US", and "intent": { "name": "myIntent","confirmationStatus": "NONE", "slots": { "date": { "name": "date", or "value": "2018-08-23","confirmationStatus": "NONE" } } }
we can see the "timestamp": "2018-08-25T06:07:20Z",but "yesterday" is : "value": "2018-08-23", or Is it always be later one day ?Thank you for reading my question!
Source: amazon.com