Correct time stamp format in Alexa responses (#70267)
This commit is contained in:
parent
56921a41bf
commit
e45d4d53dd
9 changed files with 283 additions and 244 deletions
|
@ -28,7 +28,9 @@ ATTR_REDIRECTION_URL = "redirectionURL"
|
|||
|
||||
SYN_RESOLUTION_MATCH = "ER_SUCCESS_MATCH"
|
||||
|
||||
DATE_FORMAT = "%Y-%m-%dT%H:%M:%S.0Z"
|
||||
# Alexa requires timestamps to be formatted according to ISO 8601, YYYY-MM-DDThh:mm:ssZ
|
||||
# https://developer.amazon.com/es-ES/docs/alexa/device-apis/alexa-scenecontroller.html#activate-response-event
|
||||
DATE_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
|
||||
|
||||
API_DIRECTIVE = "directive"
|
||||
API_ENDPOINT = "endpoint"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue